Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/19853?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/19853?format=api", "purl": "pkg:pypi/oncall@1.2.0", "type": "pypi", "namespace": "", "name": "oncall", "version": "1.2.0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "1.4.1", "latest_non_vulnerable_version": "1.4.1", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35718?format=api", "vulnerability_id": "VCID-5tjf-k7wj-dfbb", "summary": "LinkedIn Oncall through 1.4.0 allows reflected XSS via /query because of mishandling of the \"No results found for\" message in the search bar.", "references": [ { "reference_url": "https://github.com/advisories/GHSA-rfw2-x9f8-2f6m", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-rfw2-x9f8-2f6m" }, { "reference_url": "https://github.com/linkedin/oncall/issues/341", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/linkedin/oncall/issues/341" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/19865?format=api", "purl": "pkg:pypi/oncall@1.4.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/oncall@1.4.1" } ], "aliases": [ "CVE-2021-26722", "GHSA-rfw2-x9f8-2f6m", "PYSEC-2021-33" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5tjf-k7wj-dfbb" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/oncall@1.2.0" }