Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/531439?format=api",
    "purl": "pkg:apk/alpine/libx11@1.6.3-r3?arch=x86&distroversion=v3.3&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "libx11",
    "version": "1.6.3-r3",
    "qualifiers": {
        "arch": "x86",
        "distroversion": "v3.3",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47741?format=api",
            "vulnerability_id": "VCID-22vh-wnqm-qqh5",
            "summary": "Multiple vulnerabilities have been found in X.Org  server and\n    libraries, the worse of which allowing local attackers to execute arbitrary\n    code.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-7943.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.0",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-7943.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-7943",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8894",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.0439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88948",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.0439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88964",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.0439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88967",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.0439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88985",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.0439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8899",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.0439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89002",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.0439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88997",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.0439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88995",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.0439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89009",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.0439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89007",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.0439",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89003",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-7943"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7943",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7943"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1381861",
                    "reference_id": "1381861",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1381861"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840439",
                    "reference_id": "840439",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840439"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201704-03",
                    "reference_id": "GLSA-201704-03",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201704-03"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3758-1/",
                    "reference_id": "USN-3758-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3758-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3758-2/",
                    "reference_id": "USN-3758-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3758-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/531439?format=api",
                    "purl": "pkg:apk/alpine/libx11@1.6.3-r3?arch=x86&distroversion=v3.3&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libx11@1.6.3-r3%3Farch=x86&distroversion=v3.3&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2016-7943"
            ],
            "risk_score": 2.2,
            "exploitability": "0.5",
            "weighted_severity": "4.5",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-22vh-wnqm-qqh5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47736?format=api",
            "vulnerability_id": "VCID-ngsj-tzms-97e8",
            "summary": "Multiple vulnerabilities have been found in X.Org  server and\n    libraries, the worse of which allowing local attackers to execute arbitrary\n    code.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-7942.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-7942.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-7942",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.04712",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89332",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.04712",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89337",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.04712",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89348",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.04712",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8935",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.04712",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89367",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.04712",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89371",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.04712",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8938",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.04712",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89377",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.04712",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89373",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.04712",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89388",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.04712",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89385",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-7942"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7942",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7942"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.1",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:H/Au:N/C:P/I:P/A:P"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1381859",
                    "reference_id": "1381859",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1381859"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840439",
                    "reference_id": "840439",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840439"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201704-03",
                    "reference_id": "GLSA-201704-03",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201704-03"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3758-1/",
                    "reference_id": "USN-3758-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3758-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3758-2/",
                    "reference_id": "USN-3758-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3758-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/531439?format=api",
                    "purl": "pkg:apk/alpine/libx11@1.6.3-r3?arch=x86&distroversion=v3.3&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libx11@1.6.3-r3%3Farch=x86&distroversion=v3.3&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2016-7942"
            ],
            "risk_score": 1.4,
            "exploitability": "0.5",
            "weighted_severity": "2.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ngsj-tzms-97e8"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libx11@1.6.3-r3%3Farch=x86&distroversion=v3.3&reponame=main"
}