Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/491364?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/491364?format=api", "purl": "pkg:apk/alpine/libarchive@3.6.1-r2?arch=x86&distroversion=v3.20&reponame=main", "type": "apk", "namespace": "alpine", "name": "libarchive", "version": "3.6.1-r2", "qualifiers": { "arch": "x86", "distroversion": "v3.20", "reponame": "main" }, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "3.7.4-r0", "latest_non_vulnerable_version": "3.7.9-r0", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/75512?format=api", "vulnerability_id": "VCID-zgpe-j255-5yct", "summary": "In libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference. NOTE: the discoverer cites this CWE-476 remark but third parties dispute the code-execution impact: \"In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.\"", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-36227.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.9", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-36227.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-36227", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00551", "scoring_system": "epss", "scoring_elements": "0.68347", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.00551", "scoring_system": "epss", "scoring_elements": "0.68389", "published_at": "2026-06-09T12:55:00Z" }, { "value": "0.00551", "scoring_system": "epss", "scoring_elements": "0.68373", "published_at": "2026-06-08T12:55:00Z" }, { "value": "0.00551", "scoring_system": "epss", "scoring_elements": "0.68396", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.00551", "scoring_system": "epss", "scoring_elements": "0.68388", "published_at": "2026-06-07T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-36227" }, { "reference_url": "https://bugs.gentoo.org/882521", "reference_id": "", "reference_type": "", "scores": [], "url": "https://bugs.gentoo.org/882521" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36227", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36227" }, { "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml", "reference_id": "", "reference_type": "", "scores": [ { "value": "3.3", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L" } ], "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml" }, { "reference_url": "https://github.com/libarchive/libarchive/issues/1754", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/libarchive/libarchive/issues/1754" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024669", "reference_id": "1024669", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024669" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2144972", "reference_id": "2144972", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2144972" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-36227", "reference_id": "CVE-2022-36227", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-36227" }, { "reference_url": "https://security.gentoo.org/glsa/202309-14", "reference_id": "GLSA-202309-14", "reference_type": "", "scores": [], "url": "https://security.gentoo.org/glsa/202309-14" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2023:2532", "reference_id": "RHSA-2023:2532", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2023:2532" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2023:3018", "reference_id": "RHSA-2023:3018", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2023:3018" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2024:0146", "reference_id": "RHSA-2024:0146", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2024:0146" }, { "reference_url": "https://usn.ubuntu.com/7070-1/", "reference_id": "USN-7070-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/7070-1/" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/491364?format=api", "purl": "pkg:apk/alpine/libarchive@3.6.1-r2?arch=x86&distroversion=v3.20&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libarchive@3.6.1-r2%3Farch=x86&distroversion=v3.20&reponame=main" } ], "aliases": [ "CVE-2022-36227" ], "risk_score": 2.6, "exploitability": "0.5", "weighted_severity": "5.3", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zgpe-j255-5yct" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libarchive@3.6.1-r2%3Farch=x86&distroversion=v3.20&reponame=main" }