Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1045988?format=api",
    "purl": "pkg:maven/org.springframework.boot/spring-boot-devtools@1.5.0.RELEASE",
    "type": "maven",
    "namespace": "org.springframework.boot",
    "name": "spring-boot-devtools",
    "version": "1.5.0.RELEASE",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.0.0",
    "latest_non_vulnerable_version": "4.0.6",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/61809?format=api",
            "vulnerability_id": "VCID-9kf4-v92s-e7av",
            "summary": "Spring Boot: Spring Boot: Remote code execution via timing attack in DevTools remote secret comparison",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-40972.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-40972.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-40972",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00058",
                            "scoring_system": "epss",
                            "scoring_elements": "0.18476",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.00058",
                            "scoring_system": "epss",
                            "scoring_elements": "0.18574",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00058",
                            "scoring_system": "epss",
                            "scoring_elements": "0.18577",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00058",
                            "scoring_system": "epss",
                            "scoring_elements": "0.18539",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00058",
                            "scoring_system": "epss",
                            "scoring_elements": "0.18456",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-40972"
                },
                {
                    "reference_url": "https://github.com/spring-projects/spring-boot",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/spring-projects/spring-boot"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40972",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40972"
                },
                {
                    "reference_url": "https://spring.io/security/cve-2026-40972",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-04-28T12:45:17Z/"
                        }
                    ],
                    "url": "https://spring.io/security/cve-2026-40972"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2463332",
                    "reference_id": "2463332",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2463332"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-56v8-86gj-66jp",
                    "reference_id": "GHSA-56v8-86gj-66jp",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-56v8-86gj-66jp"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2026:17668",
                    "reference_id": "RHSA-2026:17668",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2026:17668"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2026:21772",
                    "reference_id": "RHSA-2026:21772",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2026:21772"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1046132?format=api",
                    "purl": "pkg:maven/org.springframework.boot/spring-boot-devtools@3.0.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.boot/spring-boot-devtools@3.0.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/111624?format=api",
                    "purl": "pkg:maven/org.springframework.boot/spring-boot-devtools@3.5.14",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.boot/spring-boot-devtools@3.5.14"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/111623?format=api",
                    "purl": "pkg:maven/org.springframework.boot/spring-boot-devtools@4.0.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.boot/spring-boot-devtools@4.0.6"
                }
            ],
            "aliases": [
                "CVE-2026-40972",
                "GHSA-56v8-86gj-66jp"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9kf4-v92s-e7av"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.boot/spring-boot-devtools@1.5.0.RELEASE"
}