Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/557959?format=api",
    "purl": "pkg:maven/cn.hutool/hutool-http@5.5.4",
    "type": "maven",
    "namespace": "cn.hutool",
    "name": "hutool-http",
    "version": "5.5.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "5.7.19",
    "latest_non_vulnerable_version": "5.7.19",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42467?format=api",
            "vulnerability_id": "VCID-2d5g-xbz3-3kha",
            "summary": "Improper Certificate Validation\nHutool v5.7.18's HttpRequest was discovered to ignore all TLS/SSL certificate validation.",
            "references": [
                {
                    "reference_url": "https://apidoc.gitee.com/dromara/hutool/cn/hutool/http/ssl/DefaultSSLInfo.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://apidoc.gitee.com/dromara/hutool/cn/hutool/http/ssl/DefaultSSLInfo.html"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-22885",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00617",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70363",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.00617",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70319",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00617",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70361",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00617",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70369",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00617",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70352",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00617",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7034",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-22885"
                },
                {
                    "reference_url": "https://github.com/dromara/hutool",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/dromara/hutool"
                },
                {
                    "reference_url": "https://github.com/dromara/hutool/issues/2042",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/dromara/hutool/issues/2042"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22885",
                    "reference_id": "CVE-2022-22885",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22885"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-p7w9-8mxw-p3g7",
                    "reference_id": "GHSA-p7w9-8mxw-p3g7",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-p7w9-8mxw-p3g7"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/60728?format=api",
                    "purl": "pkg:maven/cn.hutool/hutool-http@5.7.19",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/cn.hutool/hutool-http@5.7.19"
                }
            ],
            "aliases": [
                "CVE-2022-22885",
                "GHSA-p7w9-8mxw-p3g7"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2d5g-xbz3-3kha"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/cn.hutool/hutool-http@5.5.4"
}