Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/54802?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/54802?format=api", "purl": "pkg:maven/org.springframework.data/spring-data-rest-core@3.0.0-SNAPSHOT", "type": "maven", "namespace": "org.springframework.data", "name": "spring-data-rest-core", "version": "3.0.0-SNAPSHOT", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "3.0.1.RELEASE", "latest_non_vulnerable_version": "3.5.6", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39254?format=api", "vulnerability_id": "VCID-kzsg-qwvd-2ffh", "summary": "RCE in PATCH requests\nMalicious PATCH requests submitted to servers using Spring Data REST backed HTTP resources can use specially crafted JSON data to run arbitrary Java code.", "references": [ { "reference_url": "https://jira.spring.io/browse/DATAREST-1127", "reference_id": "", "reference_type": "", "scores": [], "url": "https://jira.spring.io/browse/DATAREST-1127" }, { "reference_url": "https://jira.spring.io/browse/DATAREST-1152", "reference_id": "", "reference_type": "", "scores": [], "url": "https://jira.spring.io/browse/DATAREST-1152" }, { "reference_url": "https://pivotal.io/security/cve-2017-8046", "reference_id": "CVE-2017-8046", "reference_type": "", "scores": [], "url": "https://pivotal.io/security/cve-2017-8046" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/54804?format=api", "purl": "pkg:maven/org.springframework.data/spring-data-rest-core@3.0.1.RELEASE", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.data/spring-data-rest-core@3.0.1.RELEASE" } ], "aliases": [ "CVE-2017-8046" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kzsg-qwvd-2ffh" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.data/spring-data-rest-core@3.0.0-SNAPSHOT" }