Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/316246?format=api",
    "purl": "pkg:apk/alpine/firefox@77.0-r0?arch=s390x&distroversion=edge&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "firefox",
    "version": "77.0-r0",
    "qualifiers": {
        "arch": "s390x",
        "distroversion": "edge",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "78.0-r0",
    "latest_non_vulnerable_version": "119.0-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4113?format=api",
            "vulnerability_id": "VCID-596g-a655-ffbt",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-12407",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00248",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48249",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-12407"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202006-1",
                    "reference_id": "ASA-202006-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202006-1"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1173",
                    "reference_id": "AVG-1173",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1173"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202006-07",
                    "reference_id": "GLSA-202006-07",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202006-07"
                },
                {
                    "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2020-20",
                    "reference_id": "mfsa2020-20",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "high",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2020-20"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4383-1/",
                    "reference_id": "USN-4383-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4383-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/316246?format=api",
                    "purl": "pkg:apk/alpine/firefox@77.0-r0?arch=s390x&distroversion=edge&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/firefox@77.0-r0%3Farch=s390x&distroversion=edge&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2020-12407"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-596g-a655-ffbt"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4110?format=api",
            "vulnerability_id": "VCID-rr6j-qsu4-2bgd",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-12411",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00375",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59419",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-12411"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202006-1",
                    "reference_id": "ASA-202006-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202006-1"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1173",
                    "reference_id": "AVG-1173",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1173"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202006-07",
                    "reference_id": "GLSA-202006-07",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202006-07"
                },
                {
                    "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2020-20",
                    "reference_id": "mfsa2020-20",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "high",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2020-20"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4383-1/",
                    "reference_id": "USN-4383-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4383-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/316246?format=api",
                    "purl": "pkg:apk/alpine/firefox@77.0-r0?arch=s390x&distroversion=edge&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/firefox@77.0-r0%3Farch=s390x&distroversion=edge&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2020-12411"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rr6j-qsu4-2bgd"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/firefox@77.0-r0%3Farch=s390x&distroversion=edge&reponame=community"
}