Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/316668?format=api",
    "purl": "pkg:apk/alpine/cyrus-sasl@2.1.26-r7?arch=ppc64le&distroversion=v3.18&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "cyrus-sasl",
    "version": "2.1.26-r7",
    "qualifiers": {
        "arch": "ppc64le",
        "distroversion": "v3.18",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.1.28-r0",
    "latest_non_vulnerable_version": "2.1.28-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/65815?format=api",
            "vulnerability_id": "VCID-sav7-dj7h-9bbq",
            "summary": "Cyrus SASL 2.1.23, 2.1.26, and earlier does not properly handle when a NULL value is returned upon an error by the crypt function as implemented in glibc 2.17 and later, which allows remote attackers to cause a denial of service (thread crash and consumption) via (1) an invalid salt or, when FIPS-140 is enabled, a (2) DES or (3) MD5 encrypted password, which triggers a NULL pointer dereference.",
            "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.01172",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79022",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.01172",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79049",
                            "published_at": "2026-06-05T12: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/316668?format=api",
                    "purl": "pkg:apk/alpine/cyrus-sasl@2.1.26-r7?arch=ppc64le&distroversion=v3.18&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=ppc64le&distroversion=v3.18&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2013-4122"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sav7-dj7h-9bbq"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/cyrus-sasl@2.1.26-r7%3Farch=ppc64le&distroversion=v3.18&reponame=main"
}