Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/68833?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/68833?format=api", "purl": "pkg:pypi/dnslib@0.5", "type": "pypi", "namespace": "", "name": "dnslib", "version": "0.5", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "0.9.17", "latest_non_vulnerable_version": "0.9.17", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/207314?format=api", "vulnerability_id": "VCID-6je7-cu1d-xbdc", "summary": "dnslib has DNS reply verification issue", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-22846", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.0032", "scoring_system": "epss", "scoring_elements": "0.5544", "published_at": "2026-06-11T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-22846" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22846", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22846" }, { "reference_url": "https://github.com/paulc/dnslib/commit/76e8677699ed098387d502c57980f58da642aeba", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/paulc/dnslib/commit/76e8677699ed098387d502c57980f58da642aeba" }, { "reference_url": "https://github.com/paulc/dnslib/issues/30", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/paulc/dnslib/issues/30" }, { "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/dnslib/PYSEC-2022-4.yaml", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/pypa/advisory-database/tree/main/vulns/dnslib/PYSEC-2022-4.yaml" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22846", "reference_id": "CVE-2022-22846", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22846" }, { "reference_url": "https://github.com/advisories/GHSA-r478-c2pc-m7gx", "reference_id": "GHSA-r478-c2pc-m7gx", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-r478-c2pc-m7gx" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/18645?format=api", "purl": "pkg:pypi/dnslib@0.9.17", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/dnslib@0.9.17" } ], "aliases": [ "CVE-2022-22846", "GHSA-r478-c2pc-m7gx", "PYSEC-2022-4" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6je7-cu1d-xbdc" } ], "fixing_vulnerabilities": [], "risk_score": "4.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/dnslib@0.5" }