Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/100049?format=api",
    "purl": "pkg:rpm/redhat/haproxy@2.0.16-2?arch=el7",
    "type": "rpm",
    "namespace": "redhat",
    "name": "haproxy",
    "version": "2.0.16-2",
    "qualifiers": {
        "arch": "el7"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_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.99736",
                            "published_at": "2026-05-14T12: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.99735",
                            "published_at": "2026-05-11T12: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"
                        },
                        {
                            "value": "0.92378",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99733",
                            "published_at": "2026-04-29T12: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": [],
            "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/80085?format=api",
            "vulnerability_id": "VCID-sy71-5m1g-2yav",
            "summary": "haproxy: an HTTP method name may contain a space followed by the name of a protected resource",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-39241.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:H/I:N/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-39241.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-39241",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63293",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6354",
                            "published_at": "2026-05-14T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63461",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63487",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63353",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6338",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63346",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63397",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63415",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63432",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63414",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63422",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63401",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63418",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63431",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63427",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63399",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63443",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.00444",
                            "scoring_system": "epss",
                            "scoring_elements": "0.63496",
                            "published_at": "2026-05-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-39241"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-39240",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-39240"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-39241",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-39241"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-39242",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-39242"
                },
                {
                    "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:H/I:N/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=1995107",
                    "reference_id": "1995107",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1995107"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2304",
                    "reference_id": "AVG-2304",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2304"
                },
                {
                    "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"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2021-39241"
            ],
            "risk_score": 3.4,
            "exploitability": "0.5",
            "weighted_severity": "6.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sy71-5m1g-2yav"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "10.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/haproxy@2.0.16-2%3Farch=el7"
}