Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49389?format=api",
    "vulnerability_id": "VCID-gvwn-8r4r-47gm",
    "summary": "Apache Struts has a Denial of Service vulnerability\nDenial of Service vulnerability in Apache Struts, file leak in multipart request processing causes disk exhaustion.\n\nThis issue affects Apache Struts: from 2.0.0 through 6.7.4, from 7.0.0 through 7.0.3.\n\nUsers are recommended to upgrade to version 6.8.0 or 7.1.1, which fixes the issue.",
    "aliases": [
        {
            "alias": "CVE-2025-66675"
        },
        {
            "alias": "GHSA-rg58-xhh7-mqjw"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72680?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@6.8.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@6.8.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72681?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@7.1.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@7.1.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52634?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bjt-18pc-vfe8"
                },
                {
                    "vulnerability": "VCID-4bzw-ges2-d7ek"
                },
                {
                    "vulnerability": "VCID-7hxh-btrk-skhg"
                },
                {
                    "vulnerability": "VCID-8cmt-z8g9-duf2"
                },
                {
                    "vulnerability": "VCID-9mn7-d2mm-uqay"
                },
                {
                    "vulnerability": "VCID-dbzr-zyeu-73g8"
                },
                {
                    "vulnerability": "VCID-gvwn-8r4r-47gm"
                },
                {
                    "vulnerability": "VCID-mvdz-exud-3ybz"
                },
                {
                    "vulnerability": "VCID-nztp-y8p8-cqc6"
                },
                {
                    "vulnerability": "VCID-q2ad-khtm-nqdr"
                },
                {
                    "vulnerability": "VCID-z1jy-4da2-tyhk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72862?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@7.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-gvwn-8r4r-47gm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@7.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://cve.org/CVERecord?id=CVE-2025-64775",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.org/CVERecord?id=CVE-2025-64775"
        },
        {
            "reference_url": "https://cwiki.apache.org/confluence/display/WW/S2-068",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cwiki.apache.org/confluence/display/WW/S2-068"
        },
        {
            "reference_url": "https://github.com/apache/struts",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts"
        },
        {
            "reference_url": "https://github.com/apache/struts/commit/831568929cfba700f790f6ebe6e335f9f33fb468",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts/commit/831568929cfba700f790f6ebe6e335f9f33fb468"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-66675",
            "reference_id": "CVE-2025-66675",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-66675"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-rg58-xhh7-mqjw",
            "reference_id": "GHSA-rg58-xhh7-mqjw",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-rg58-xhh7-mqjw"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 459,
            "name": "Incomplete Cleanup",
            "description": "The product does not properly clean up and remove temporary or supporting resources after they have been used."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gvwn-8r4r-47gm"
}