Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38858?format=api",
    "vulnerability_id": "VCID-ybuw-727z-r3eb",
    "summary": "Improper Input Validation\nIn Apache Struts, if an application allows entering a URL in a form field and the built-in `URLValidator` is used, it is possible to prepare a special URL which will be used to overload server process when performing validation of the URL.",
    "aliases": [
        {
            "alias": "CVE-2016-8738"
        },
        {
            "alias": "GHSA-86vq-8qhc-5rqw"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53734?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.5.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-21k4-5a8r-7bd9"
                },
                {
                    "vulnerability": "VCID-7uv9-4vy7-ryd1"
                },
                {
                    "vulnerability": "VCID-dj42-wym9-nbhv"
                },
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-hrky-nmnv-g3eu"
                },
                {
                    "vulnerability": "VCID-mmth-7rgf-aqfa"
                },
                {
                    "vulnerability": "VCID-vztu-pap6-37ev"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.5.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54101?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.5.13",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7uv9-4vy7-ryd1"
                },
                {
                    "vulnerability": "VCID-dj42-wym9-nbhv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.5.13"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52807?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-21k4-5a8r-7bd9"
                },
                {
                    "vulnerability": "VCID-7uv9-4vy7-ryd1"
                },
                {
                    "vulnerability": "VCID-dj42-wym9-nbhv"
                },
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-hrky-nmnv-g3eu"
                },
                {
                    "vulnerability": "VCID-mmth-7rgf-aqfa"
                },
                {
                    "vulnerability": "VCID-qdsq-8td3-5qa1"
                },
                {
                    "vulnerability": "VCID-vztu-pap6-37ev"
                },
                {
                    "vulnerability": "VCID-ybuw-727z-r3eb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52809?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.5.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-21k4-5a8r-7bd9"
                },
                {
                    "vulnerability": "VCID-7uv9-4vy7-ryd1"
                },
                {
                    "vulnerability": "VCID-dj42-wym9-nbhv"
                },
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-hrky-nmnv-g3eu"
                },
                {
                    "vulnerability": "VCID-mmth-7rgf-aqfa"
                },
                {
                    "vulnerability": "VCID-vztu-pap6-37ev"
                },
                {
                    "vulnerability": "VCID-ybuw-727z-r3eb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.5.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53732?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.5.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-21k4-5a8r-7bd9"
                },
                {
                    "vulnerability": "VCID-7uv9-4vy7-ryd1"
                },
                {
                    "vulnerability": "VCID-dj42-wym9-nbhv"
                },
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-hrky-nmnv-g3eu"
                },
                {
                    "vulnerability": "VCID-mmth-7rgf-aqfa"
                },
                {
                    "vulnerability": "VCID-vztu-pap6-37ev"
                },
                {
                    "vulnerability": "VCID-ybuw-727z-r3eb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.5.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53733?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.5.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-21k4-5a8r-7bd9"
                },
                {
                    "vulnerability": "VCID-7uv9-4vy7-ryd1"
                },
                {
                    "vulnerability": "VCID-dj42-wym9-nbhv"
                },
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-hrky-nmnv-g3eu"
                },
                {
                    "vulnerability": "VCID-mmth-7rgf-aqfa"
                },
                {
                    "vulnerability": "VCID-vztu-pap6-37ev"
                },
                {
                    "vulnerability": "VCID-ybuw-727z-r3eb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.5.5"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-8738",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.01107",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78454",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-8738"
        },
        {
            "reference_url": "https://github.com/apache/struts",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/apache/struts"
        },
        {
            "reference_url": "https://github.com/apache/struts/commit/554b9dddb0fbd1e581ef577dd62a7c22955ad0f6",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/apache/struts/commit/554b9dddb0fbd1e581ef577dd62a7c22955ad0f6"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20180629-0003",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.netapp.com/advisory/ntap-20180629-0003"
        },
        {
            "reference_url": "https://struts.apache.org/docs/s2-044.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://struts.apache.org/docs/s2-044.html"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/94657",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/94657"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-8738",
            "reference_id": "CVE-2016-8738",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-8738"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "cwe_id": 20,
            "name": "Improper Input Validation",
            "description": "The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ybuw-727z-r3eb"
}