Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/24704?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/24704?format=api", "purl": "pkg:cargo/libp2p-core@0.30.2", "type": "cargo", "namespace": "", "name": "libp2p-core", "version": "0.30.2", "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/210798?format=api", "vulnerability_id": "VCID-2qh3-qu36-9yc4", "summary": "Failure to verify the public key of a `SignedEnvelope` against the `PeerId` in a `PeerRecord`", "references": [ { "reference_url": "https://github.com/libp2p/rust-libp2p", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/libp2p/rust-libp2p" }, { "reference_url": "https://rustsec.org/advisories/RUSTSEC-2022-0009.html", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://rustsec.org/advisories/RUSTSEC-2022-0009.html" }, { "reference_url": "https://github.com/advisories/GHSA-wc36-xgcc-jwpr", "reference_id": "GHSA-wc36-xgcc-jwpr", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-wc36-xgcc-jwpr" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/24704?format=api", "purl": "pkg:cargo/libp2p-core@0.30.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:cargo/libp2p-core@0.30.2" } ], "aliases": [ "GHSA-wc36-xgcc-jwpr" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2qh3-qu36-9yc4" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:cargo/libp2p-core@0.30.2" }