Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/80508?format=api",
    "purl": "pkg:maven/cn.hutool/hutool-json@5.8.25",
    "type": "maven",
    "namespace": "cn.hutool",
    "name": "hutool-json",
    "version": "5.8.25",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52862?format=api",
            "vulnerability_id": "VCID-32wz-1tnx-5qep",
            "summary": "json stack overflow vulnerability\nA stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 and org.json:json before version 20230227 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-45688",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00911",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75763",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00911",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75903",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00911",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75891",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00911",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75795",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00911",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75844",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00911",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75858",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00911",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75855",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00911",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75818",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00911",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75824",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00911",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75843",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00911",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75819",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00911",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75807",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00911",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75774",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01146",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78518",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01216",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79171",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.01216",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79121",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.01216",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79142",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.01216",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79159",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.01216",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79156",
                            "published_at": "2026-05-11T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-45688"
                },
                {
                    "reference_url": "https://github.com/dromara/hutool/commit/6a2b585de0a380e8c12016dbaa1620b69be11b8c",
                    "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:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/dromara/hutool/commit/6a2b585de0a380e8c12016dbaa1620b69be11b8c"
                },
                {
                    "reference_url": "https://github.com/dromara/hutool/issues/2748",
                    "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:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-22T03:09:42Z/"
                        }
                    ],
                    "url": "https://github.com/dromara/hutool/issues/2748"
                },
                {
                    "reference_url": "https://github.com/dromara/hutool/releases/tag/5.8.25",
                    "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:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/dromara/hutool/releases/tag/5.8.25"
                },
                {
                    "reference_url": "https://github.com/stleary/JSON-java/commit/a6e412bded7a0ad605adfeca029318f184c32102",
                    "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:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/stleary/JSON-java/commit/a6e412bded7a0ad605adfeca029318f184c32102"
                },
                {
                    "reference_url": "https://github.com/stleary/JSON-java/issues/708",
                    "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:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-22T03:09:42Z/"
                        }
                    ],
                    "url": "https://github.com/stleary/JSON-java/issues/708"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-45688",
                    "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:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-45688"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3vqj-43w4-2q58",
                    "reference_id": "GHSA-3vqj-43w4-2q58",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-3vqj-43w4-2q58"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80437?format=api",
                    "purl": "pkg:maven/cn.hutool/hutool-json@5.8.11",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-6kpd-gcmc-mycc"
                        },
                        {
                            "vulnerability": "VCID-nhsq-y1t2-dbge"
                        },
                        {
                            "vulnerability": "VCID-xwj3-1bfz-sbb6"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/cn.hutool/hutool-json@5.8.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80508?format=api",
                    "purl": "pkg:maven/cn.hutool/hutool-json@5.8.25",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/cn.hutool/hutool-json@5.8.25"
                }
            ],
            "aliases": [
                "CVE-2022-45688",
                "GHSA-3vqj-43w4-2q58"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-32wz-1tnx-5qep"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/cn.hutool/hutool-json@5.8.25"
}