Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/43960?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43960?format=api", "vulnerability_id": "VCID-nyck-gzug-fue6", "summary": "mPDF version 7.1.7 and earlier contains a CWE-502: Deserialization of Untrusted Data vulnerability in getImage() method of Image/ImageProcessor class that can result in Arbitry code execution, file write, etc.. This attack appears to be exploitable via attacker must host crafted image on victim server and trigger generation of pdf file with content <img src=\"phar://path/to/crafted/image\">. This vulnerability appears to have been fixed in 7.1.8.", "aliases": [ { "alias": "CVE-2019-1000005" }, { "alias": "GHSA-3cwc-m7c2-qr86" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/63183?format=api", "purl": "pkg:composer/mpdf/mpdf@7.1.8", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mpdf/mpdf@7.1.8" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/63182?format=api", "purl": "pkg:composer/mpdf/mpdf@7.1.7", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-nyck-gzug-fue6" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mpdf/mpdf@7.1.7" } ], "references": [ { "reference_url": "https://github.com/mpdf/mpdf/issues/949", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/mpdf/mpdf/issues/949" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-1000005", "reference_id": "CVE-2019-1000005", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-1000005" }, { "reference_url": "https://github.com/advisories/GHSA-3cwc-m7c2-qr86", "reference_id": "GHSA-3cwc-m7c2-qr86", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-3cwc-m7c2-qr86" } ], "weaknesses": [ { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." }, { "cwe_id": 502, "name": "Deserialization of Untrusted Data", "description": "The product deserializes untrusted data without sufficiently verifying that the resulting data will be valid." }, { "cwe_id": 78, "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')", "description": "The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." } ], "exploits": [], "severity_range_score": null, "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nyck-gzug-fue6" }