Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/407346?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/407346?format=api", "purl": "pkg:apk/alpine/sqlite@3.34.1-r0?arch=s390x&distroversion=v3.22&reponame=main", "type": "apk", "namespace": "alpine", "name": "sqlite", "version": "3.34.1-r0", "qualifiers": { "arch": "s390x", "distroversion": "v3.22", "reponame": "main" }, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "3.49.2-r1", "latest_non_vulnerable_version": "3.49.2-r1", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/59150?format=api", "vulnerability_id": "VCID-bxfk-dmdp-53f3", "summary": "A vulnerability in SQLite could lead to remote code execution.", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20227.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20227.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20227", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.0021", "scoring_system": "epss", "scoring_elements": "0.43493", "published_at": "2026-04-01T12:55:00Z" }, { "value": "0.0021", "scoring_system": "epss", "scoring_elements": "0.43554", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.0021", "scoring_system": "epss", "scoring_elements": "0.43581", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.0021", "scoring_system": "epss", "scoring_elements": "0.43519", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.0021", "scoring_system": "epss", "scoring_elements": "0.4357", "published_at": "2026-04-08T12:55:00Z" }, { "value": "0.0021", "scoring_system": "epss", "scoring_elements": "0.43584", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.0021", "scoring_system": "epss", "scoring_elements": "0.43602", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.0021", "scoring_system": "epss", "scoring_elements": "0.43572", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.0021", "scoring_system": "epss", "scoring_elements": "0.43556", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.0021", "scoring_system": "epss", "scoring_elements": "0.43616", "published_at": "2026-04-16T12:55:00Z" }, { "value": "0.0021", "scoring_system": "epss", "scoring_elements": "0.43605", "published_at": "2026-04-18T12:55:00Z" }, { "value": "0.0021", "scoring_system": "epss", "scoring_elements": "0.43541", "published_at": "2026-04-21T12:55:00Z" }, { "value": "0.0021", "scoring_system": "epss", "scoring_elements": "0.43472", "published_at": "2026-04-24T12:55:00Z" }, { "value": "0.0021", "scoring_system": "epss", "scoring_elements": "0.43476", "published_at": "2026-04-26T12:55:00Z" }, { "value": "0.0021", "scoring_system": "epss", "scoring_elements": "0.43393", "published_at": "2026-04-29T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20227" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20227", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20227" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1924886", "reference_id": "1924886", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1924886" }, { "reference_url": "https://security.archlinux.org/AVG-1536", "reference_id": "AVG-1536", "reference_type": "", "scores": [ { "value": "Medium", "scoring_system": "archlinux", "scoring_elements": "" } ], "url": "https://security.archlinux.org/AVG-1536" }, { "reference_url": "https://security.gentoo.org/glsa/202103-04", "reference_id": "GLSA-202103-04", "reference_type": "", "scores": [], "url": "https://security.gentoo.org/glsa/202103-04" }, { "reference_url": "https://usn.ubuntu.com/4732-1/", "reference_id": "USN-4732-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/4732-1/" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/407346?format=api", "purl": "pkg:apk/alpine/sqlite@3.34.1-r0?arch=s390x&distroversion=v3.22&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/sqlite@3.34.1-r0%3Farch=s390x&distroversion=v3.22&reponame=main" } ], "aliases": [ "CVE-2021-20227" ], "risk_score": 3.1, "exploitability": "0.5", "weighted_severity": "6.2", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bxfk-dmdp-53f3" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/sqlite@3.34.1-r0%3Farch=s390x&distroversion=v3.22&reponame=main" }