Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/299601?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/299601?format=api", "purl": "pkg:apk/alpine/libidn2@2.1.1-r0?arch=x86&distroversion=v3.14&reponame=main", "type": "apk", "namespace": "alpine", "name": "libidn2", "version": "2.1.1-r0", "qualifiers": { "arch": "x86", "distroversion": "v3.14", "reponame": "main" }, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "2.2.0-r0", "latest_non_vulnerable_version": "2.2.0-r0", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6622?format=api", "vulnerability_id": "VCID-gsn5-nvsm-pqhx", "summary": "", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-18224.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.6", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-18224.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-18224", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.02239", "scoring_system": "epss", "scoring_elements": "0.84917", "published_at": "2026-06-11T12:55:00Z" }, { "value": "0.02239", "scoring_system": "epss", "scoring_elements": "0.8497", "published_at": "2026-06-12T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-18224" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18224", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18224" }, { "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.3", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L" } ], "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1764780", "reference_id": "1764780", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1764780" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942895", "reference_id": "942895", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942895" }, { "reference_url": "https://security.gentoo.org/glsa/202003-63", "reference_id": "GLSA-202003-63", "reference_type": "", "scores": [], "url": "https://security.gentoo.org/glsa/202003-63" }, { "reference_url": "https://usn.ubuntu.com/4168-1/", "reference_id": "USN-4168-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/4168-1/" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/299601?format=api", "purl": "pkg:apk/alpine/libidn2@2.1.1-r0?arch=x86&distroversion=v3.14&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libidn2@2.1.1-r0%3Farch=x86&distroversion=v3.14&reponame=main" } ], "aliases": [ "CVE-2019-18224" ], "risk_score": 2.5, "exploitability": "0.5", "weighted_severity": "5.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gsn5-nvsm-pqhx" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libidn2@2.1.1-r0%3Farch=x86&distroversion=v3.14&reponame=main" }