Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/451351?format=api",
    "purl": "pkg:apk/alpine/apache2@2.4.62-r0?arch=aarch64&distroversion=v3.23&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "apache2",
    "version": "2.4.62-r0",
    "qualifiers": {
        "arch": "aarch64",
        "distroversion": "v3.23",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.4.64-r0",
    "latest_non_vulnerable_version": "2.4.66-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3858?format=api",
            "vulnerability_id": "VCID-4jfa-3r1g-m7h8",
            "summary": "SSRF in Apache HTTP Server on Windows with mod_rewrite in server/vhost context, allows to potentially leak NTML hashes to a malicious server via SSRF and malicious requests.\n\nUsers are recommended to upgrade to version 2.4.62 which fixes this issue.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-40898.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-2024-40898.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-40898",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00549",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67936",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00549",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6796",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00549",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67984",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00549",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67971",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00549",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67897",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00549",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67915",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00549",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67895",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00549",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67946",
                            "published_at": "2026-04-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-40898"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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=2298648",
                    "reference_id": "2298648",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2298648"
                },
                {
                    "reference_url": "https://httpd.apache.org/security/json/CVE-2024-40898.json",
                    "reference_id": "CVE-2024-40898",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://httpd.apache.org/security/json/CVE-2024-40898.json"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202409-31",
                    "reference_id": "GLSA-202409-31",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202409-31"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2024:6928",
                    "reference_id": "RHSA-2024:6928",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2024:6928"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/451351?format=api",
                    "purl": "pkg:apk/alpine/apache2@2.4.62-r0?arch=aarch64&distroversion=v3.23&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/apache2@2.4.62-r0%3Farch=aarch64&distroversion=v3.23&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2024-40898"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4jfa-3r1g-m7h8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3857?format=api",
            "vulnerability_id": "VCID-qjeh-n57t-y7g5",
            "summary": "A partial fix forĀ  CVE-2024-39884 in the core of Apache HTTP Server 2.4.61 ignores some use of the legacy content-type based configuration of handlers. \"AddType\" and similar configuration, under some circumstances where files are requested indirectly, result in source code disclosure of local content. For example, PHP scripts may be served instead of interpreted.\n\nUsers are recommended to upgrade to version 2.4.62, which fixes this issue.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-40725.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-2024-40725.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-40725",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.25097",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96177",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.25097",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96159",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.25097",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96169",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.25097",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96173",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.25097",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96175",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.25097",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96154",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.26567",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96301",
                            "published_at": "2026-04-02T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-40725"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-40725",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-40725"
                },
                {
                    "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=2297362",
                    "reference_id": "2297362",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2297362"
                },
                {
                    "reference_url": "https://httpd.apache.org/security/json/CVE-2024-40725.json",
                    "reference_id": "CVE-2024-40725",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://httpd.apache.org/security/json/CVE-2024-40725.json"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202409-31",
                    "reference_id": "GLSA-202409-31",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202409-31"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6902-1/",
                    "reference_id": "USN-6902-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6902-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/451351?format=api",
                    "purl": "pkg:apk/alpine/apache2@2.4.62-r0?arch=aarch64&distroversion=v3.23&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/apache2@2.4.62-r0%3Farch=aarch64&distroversion=v3.23&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2024-40725"
            ],
            "risk_score": 3.4,
            "exploitability": "0.5",
            "weighted_severity": "6.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qjeh-n57t-y7g5"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/apache2@2.4.62-r0%3Farch=aarch64&distroversion=v3.23&reponame=main"
}