Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/55312?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/55312?format=api", "purl": "pkg:maven/com.sparkjava/spark-core@2.7.2", "type": "maven", "namespace": "com.sparkjava", "name": "spark-core", "version": "2.7.2", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": null, "latest_non_vulnerable_version": null, "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39532?format=api", "vulnerability_id": "VCID-jt5z-2bjf-rye2", "summary": "Path Traversal\nIn Spark, a remote attacker can read unintended static files via various representations of absolute or relative pathnames.", "references": [ { "reference_url": "https://github.com/perwendel/spark/issues/981", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/perwendel/spark/issues/981" }, { "reference_url": "http://sparkjava.com/news#spark-272-released", "reference_id": "", "reference_type": "", "scores": [], "url": "http://sparkjava.com/news#spark-272-released" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-9159", "reference_id": "CVE-2018-9159", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-9159" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/55312?format=api", "purl": "pkg:maven/com.sparkjava/spark-core@2.7.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sparkjava/spark-core@2.7.2" } ], "aliases": [ "CVE-2018-9159" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jt5z-2bjf-rye2" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sparkjava/spark-core@2.7.2" }