Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/587015?format=api",
    "purl": "pkg:deb/debian/apr@1.4.6-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "apr",
    "version": "1.4.6-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.6.3-1",
    "latest_non_vulnerable_version": "1.7.6-3",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46064?format=api",
            "vulnerability_id": "VCID-29bh-jatc-73ad",
            "summary": "Memory consumption errors in Apache Portable Runtime and APR\n    Utility Library could result in Denial of Service.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-0840.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-0840.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0840",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.37182",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97137",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.37182",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97143",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.37182",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97149",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.37182",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9715",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.37182",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9716",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.37182",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97164",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.37182",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97165",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.37182",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97173",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.37182",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97175",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.37182",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97179",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.37182",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9718",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.37182",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97182",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0840"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0840",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0840"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655435",
                    "reference_id": "655435",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655435"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=781606",
                    "reference_id": "781606",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=781606"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/36669.txt",
                    "reference_id": "CVE-2012-0840;OSVDB-78932",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/36669.txt"
                },
                {
                    "reference_url": "https://www.securityfocus.com/bid/51917/info",
                    "reference_id": "CVE-2012-0840;OSVDB-78932",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://www.securityfocus.com/bid/51917/info"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201405-24",
                    "reference_id": "GLSA-201405-24",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201405-24"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/587015?format=api",
                    "purl": "pkg:deb/debian/apr@1.4.6-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/apr@1.4.6-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/583910?format=api",
                    "purl": "pkg:deb/debian/apr@1.7.0-6%2Bdeb11u2?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-g38k-gh86-pkcn"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/apr@1.7.0-6%252Bdeb11u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/583912?format=api",
                    "purl": "pkg:deb/debian/apr@1.7.2-3%2Bdeb12u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/apr@1.7.2-3%252Bdeb12u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/583913?format=api",
                    "purl": "pkg:deb/debian/apr@1.7.5-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/apr@1.7.5-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/583914?format=api",
                    "purl": "pkg:deb/debian/apr@1.7.6-3?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/apr@1.7.6-3%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2012-0840"
            ],
            "risk_score": 0.6,
            "exploitability": "2.0",
            "weighted_severity": "0.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-29bh-jatc-73ad"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/apr@1.4.6-1%3Fdistro=trixie"
}