Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/61064?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/61064?format=api", "purl": "pkg:composer/topthink/framework@5.1.0", "type": "composer", "namespace": "topthink", "name": "framework", "version": "5.1.0", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "5.1.23", "latest_non_vulnerable_version": "6.1.1", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42764?format=api", "vulnerability_id": "VCID-waa4-99wa-17an", "summary": "Exposure of Resource to Wrong Sphere\nThinkPHP Framework v5.0.24 was discovered to be configured without the PATHINFO parameter. This allows attackers to access all system environment parameters from index.php.", "references": [ { "reference_url": "https://github.com/Lyther/VulnDiscover/blob/master/Web/ThinkPHP_InfoLeak.md", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/Lyther/VulnDiscover/blob/master/Web/ThinkPHP_InfoLeak.md" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25481", "reference_id": "CVE-2022-25481", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25481" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/61064?format=api", "purl": "pkg:composer/topthink/framework@5.1.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/topthink/framework@5.1.0" } ], "aliases": [ "CVE-2022-25481" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-waa4-99wa-17an" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/topthink/framework@5.1.0" }