Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/991380?format=api",
    "purl": "pkg:apk/alpine/cyrus-sasl@2.1.26-r7?arch=x86_64&distroversion=v3.16&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "cyrus-sasl",
    "version": "2.1.26-r7",
    "qualifiers": {
        "arch": "x86_64",
        "distroversion": "v3.16",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.1.27-r5",
    "latest_non_vulnerable_version": "2.1.28-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34792?format=api",
            "vulnerability_id": "VCID-2hdg-fauv-7bhv",
            "summary": "A NULL pointer dereference in Cyrus-SASL may allow remote attackers\n    to cause a Denial of Service condition.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2013-4122.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2013-4122.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2013-4122",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01179",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78813",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.01179",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78687",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01179",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78694",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01179",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78725",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01179",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78707",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01179",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78732",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01179",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78739",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01179",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78763",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01179",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78746",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01179",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78737",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01179",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78765",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01179",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7876",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01179",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78788",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01179",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78795",
                            "published_at": "2026-04-26T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2013-4122"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4122",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4122"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.3",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:N/C:P/I:P/A:C"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716835",
                    "reference_id": "716835",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716835"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=984669",
                    "reference_id": "984669",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=984669"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201309-01",
                    "reference_id": "GLSA-201309-01",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201309-01"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/1988-1/",
                    "reference_id": "USN-1988-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/1988-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/2755-1/",
                    "reference_id": "USN-2755-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/2755-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/991380?format=api",
                    "purl": "pkg:apk/alpine/cyrus-sasl@2.1.26-r7?arch=x86_64&distroversion=v3.16&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/cyrus-sasl@2.1.26-r7%3Farch=x86_64&distroversion=v3.16&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2013-4122"
            ],
            "risk_score": 2.1,
            "exploitability": "0.5",
            "weighted_severity": "4.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2hdg-fauv-7bhv"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/cyrus-sasl@2.1.26-r7%3Farch=x86_64&distroversion=v3.16&reponame=main"
}