Lookup for vulnerable packages by Package URL.

GET /api/packages/407490?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/407490?format=api",
    "purl": "pkg:apk/alpine/libarchive@3.4.0-r0?arch=ppc64le&distroversion=v3.14&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "libarchive",
    "version": "3.4.0-r0",
    "qualifiers": {
        "arch": "ppc64le",
        "distroversion": "v3.14",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.4.2-r0",
    "latest_non_vulnerable_version": "3.5.3-r1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/75507?format=api",
            "vulnerability_id": "VCID-2kce-56xs-abaz",
            "summary": "archive_read_format_rar_read_data in archive_read_support_format_rar.c in libarchive before 3.4.0 has a use-after-free in a certain ARCHIVE_FAILED situation, related to Ppmd7_DecodeSymbol.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-18408.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-18408.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-18408",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.04588",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89416",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.04588",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89434",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.04588",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89432",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.04588",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8945",
                            "published_at": "2026-06-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-18408"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18408",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18408"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.4",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/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=1769979",
                    "reference_id": "1769979",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1769979"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202003-28",
                    "reference_id": "GLSA-202003-28",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202003-28"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:0203",
                    "reference_id": "RHSA-2020:0203",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:0203"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:0246",
                    "reference_id": "RHSA-2020:0246",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:0246"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:0271",
                    "reference_id": "RHSA-2020:0271",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:0271"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4169-1/",
                    "reference_id": "USN-4169-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4169-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/407490?format=api",
                    "purl": "pkg:apk/alpine/libarchive@3.4.0-r0?arch=ppc64le&distroversion=v3.14&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libarchive@3.4.0-r0%3Farch=ppc64le&distroversion=v3.14&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2019-18408"
            ],
            "risk_score": 3.6,
            "exploitability": "0.5",
            "weighted_severity": "7.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2kce-56xs-abaz"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libarchive@3.4.0-r0%3Farch=ppc64le&distroversion=v3.14&reponame=main"
}