Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/61123?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/61123?format=api", "purl": "pkg:composer/phpunit/phpunit@5.6.3", "type": "composer", "namespace": "phpunit", "name": "phpunit", "version": "5.6.3", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "8.5.52", "latest_non_vulnerable_version": "12.5.8", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4358?format=api", "vulnerability_id": "VCID-ufpb-zb33-eqbn", "summary": "arbitrary code execution", "references": [ { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9841", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9841" }, { "reference_url": "https://github.com/sebastianbergmann/phpunit", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/sebastianbergmann/phpunit" }, { "reference_url": "https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5" }, { "reference_url": "https://github.com/sebastianbergmann/phpunit/commit/3aaddb1c5bd9b9b8d070b4cf120e71c36fd08412", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/sebastianbergmann/phpunit/commit/3aaddb1c5bd9b9b8d070b4cf120e71c36fd08412" }, { "reference_url": "https://github.com/sebastianbergmann/phpunit/pull/1955", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/sebastianbergmann/phpunit/pull/1955" }, { "reference_url": "https://github.com/sebastianbergmann/phpunit/pull/1956", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/sebastianbergmann/phpunit/pull/1956" }, { "reference_url": "https://security.gentoo.org/glsa/201711-15", "reference_id": "", "reference_type": "", "scores": [], "url": "https://security.gentoo.org/glsa/201711-15" }, { "reference_url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9841", "reference_id": "", "reference_type": "", "scores": [], "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9841" }, { "reference_url": "https://www.oracle.com/security-alerts/cpuoct2021.html", "reference_id": "", "reference_type": "", "scores": [], "url": "https://www.oracle.com/security-alerts/cpuoct2021.html" }, { "reference_url": "https://security.archlinux.org/AVG-491", "reference_id": "AVG-491", "reference_type": "", "scores": [ { "value": "Critical", "scoring_system": "archlinux", "scoring_elements": "" } ], "url": "https://security.archlinux.org/AVG-491" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-9841", "reference_id": "CVE-2017-9841", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-9841" }, { "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/phpunit/phpunit/CVE-2017-9841.yaml", "reference_id": "CVE-2017-9841.YAML", "reference_type": "", "scores": [], "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/phpunit/phpunit/CVE-2017-9841.yaml" }, { "reference_url": "https://github.com/advisories/GHSA-r7c9-c69m-rph8", "reference_id": "GHSA-r7c9-c69m-rph8", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-r7c9-c69m-rph8" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/61122?format=api", "purl": "pkg:composer/phpunit/phpunit@4.8.28", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpunit/phpunit@4.8.28" }, { "url": "http://public2.vulnerablecode.io/api/packages/61123?format=api", "purl": "pkg:composer/phpunit/phpunit@5.6.3", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpunit/phpunit@5.6.3" } ], "aliases": [ "CVE-2017-9841", "GHSA-r7c9-c69m-rph8" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ufpb-zb33-eqbn" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpunit/phpunit@5.6.3" }