Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/924762?format=api",
    "purl": "pkg:deb/debian/haproxy@2.2.16-3?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "haproxy",
    "version": "2.2.16-3",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.4.13-1",
    "latest_non_vulnerable_version": "3.2.18-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/80042?format=api",
            "vulnerability_id": "VCID-jz63-5mba-3qbx",
            "summary": "haproxy: request smuggling attack or response splitting via duplicate content-length header",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-40346.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-40346.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-40346",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.92378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99724",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.92378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99735",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.92378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99733",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.92378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99734",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.92378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99725",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.92378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99726",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.92378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99727",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.92378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99728",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.92378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99729",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.92378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99731",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.92378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99732",
                            "published_at": "2026-04-26T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-40346"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40346",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40346"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2000599",
                    "reference_id": "2000599",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2000599"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2343",
                    "reference_id": "AVG-2343",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2343"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:4118",
                    "reference_id": "RHSA-2021:4118",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:4118"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:5208",
                    "reference_id": "RHSA-2021:5208",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:5208"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:0024",
                    "reference_id": "RHSA-2022:0024",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:0024"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:0114",
                    "reference_id": "RHSA-2022:0114",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:0114"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5063-1/",
                    "reference_id": "USN-5063-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5063-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924763?format=api",
                    "purl": "pkg:deb/debian/haproxy@2.2.9-2%2Bdeb11u2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/haproxy@2.2.9-2%252Bdeb11u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924744?format=api",
                    "purl": "pkg:deb/debian/haproxy@2.2.9-2%2Bdeb11u6?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-97wa-uwp2-57gu"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/haproxy@2.2.9-2%252Bdeb11u6%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924762?format=api",
                    "purl": "pkg:deb/debian/haproxy@2.2.16-3?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/haproxy@2.2.16-3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924742?format=api",
                    "purl": "pkg:deb/debian/haproxy@2.6.12-1%2Bdeb12u3?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-7mfq-cvmr-nbf8"
                        },
                        {
                            "vulnerability": "VCID-97wa-uwp2-57gu"
                        },
                        {
                            "vulnerability": "VCID-rj2h-pnmf-mufp"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/haproxy@2.6.12-1%252Bdeb12u3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924746?format=api",
                    "purl": "pkg:deb/debian/haproxy@3.0.11-1%2Bdeb13u2?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-97wa-uwp2-57gu"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/haproxy@3.0.11-1%252Bdeb13u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924745?format=api",
                    "purl": "pkg:deb/debian/haproxy@3.2.15-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/haproxy@3.2.15-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1077440?format=api",
                    "purl": "pkg:deb/debian/haproxy@3.2.16-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/haproxy@3.2.16-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1102939?format=api",
                    "purl": "pkg:deb/debian/haproxy@3.2.17-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/haproxy@3.2.17-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1108324?format=api",
                    "purl": "pkg:deb/debian/haproxy@3.2.18-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/haproxy@3.2.18-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2021-40346"
            ],
            "risk_score": 10.0,
            "exploitability": "2.0",
            "weighted_severity": "6.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jz63-5mba-3qbx"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/haproxy@2.2.16-3%3Fdistro=trixie"
}