Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/61528?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/61528?format=api", "purl": "pkg:maven/org.apache.hadoop/hadoop-main@1.0.3", "type": "maven", "namespace": "org.apache.hadoop", "name": "hadoop-main", "version": "1.0.3", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "1.0.4", "latest_non_vulnerable_version": "3.3.5", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42997?format=api", "vulnerability_id": "VCID-9sw6-5wdd-5qf8", "summary": "Improper Link Resolution Before File Access ('Link Following')\nHadoop 1.0.3 contains a symlink vulnerability.", "references": [ { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535861", "reference_id": "", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535861" }, { "reference_url": "https://seclists.org/fulldisclosure/2012/Jul/3", "reference_id": "", "reference_type": "", "scores": [], "url": "https://seclists.org/fulldisclosure/2012/Jul/3" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2945", "reference_id": "CVE-2012-2945", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2945" }, { "reference_url": "https://security-tracker.debian.org/tracker/CVE-2012-2945", "reference_id": "CVE-2012-2945", "reference_type": "", "scores": [], "url": "https://security-tracker.debian.org/tracker/CVE-2012-2945" }, { "reference_url": "https://github.com/advisories/GHSA-v5c9-98f7-2h54", "reference_id": "GHSA-v5c9-98f7-2h54", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-v5c9-98f7-2h54" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/61529?format=api", "purl": "pkg:maven/org.apache.hadoop/hadoop-main@1.0.4", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@1.0.4" } ], "aliases": [ "CVE-2012-2945", "GHSA-v5c9-98f7-2h54" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9sw6-5wdd-5qf8" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@1.0.3" }