Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/60457?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/60457?format=api", "purl": "pkg:maven/com.twitter/twitter-server_2.12@20.12.0", "type": "maven", "namespace": "com.twitter", "name": "twitter-server_2.12", "version": "20.12.0", "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/42292?format=api", "vulnerability_id": "VCID-2vwn-8vjt-gqch", "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nserver/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server), in some configurations, allows XSS via the /histograms endpoint.", "references": [ { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-35774", "reference_id": "CVE-2020-35774", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-35774" }, { "reference_url": "https://github.com/advisories/GHSA-3mqv-8gxg-pfm4", "reference_id": "GHSA-3mqv-8gxg-pfm4", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-3mqv-8gxg-pfm4" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/60457?format=api", "purl": "pkg:maven/com.twitter/twitter-server_2.12@20.12.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.twitter/twitter-server_2.12@20.12.0" } ], "aliases": [ "CVE-2020-35774", "GHSA-3mqv-8gxg-pfm4" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2vwn-8vjt-gqch" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.twitter/twitter-server_2.12@20.12.0" }