Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/67776?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/67776?format=api", "purl": "pkg:pypi/prefect@2.0.0", "type": "pypi", "namespace": "", "name": "prefect", "version": "2.0.0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "2.14.3", "latest_non_vulnerable_version": "2.14.3", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46410?format=api", "vulnerability_id": "VCID-xnxk-dvkz-cfgy", "summary": "Cross-Site Request Forgery (CSRF)\nAn attacker is able to steal secrets and potentially gain remote code execution via CSRF using the Prefect API.", "references": [ { "reference_url": "https://huntr.com/bounties/dab47d99-551c-4355-9ab1-c99cb90235af", "reference_id": "", "reference_type": "", "scores": [], "url": "https://huntr.com/bounties/dab47d99-551c-4355-9ab1-c99cb90235af" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-6022", "reference_id": "CVE-2023-6022", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-6022" }, { "reference_url": "https://github.com/advisories/GHSA-4hh5-2678-83fx", "reference_id": "GHSA-4hh5-2678-83fx", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-4hh5-2678-83fx" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/67777?format=api", "purl": "pkg:pypi/prefect@2.14.3", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/prefect@2.14.3" } ], "aliases": [ "CVE-2023-6022", "GHSA-4hh5-2678-83fx" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xnxk-dvkz-cfgy" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/prefect@2.0.0" }