Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44058?format=api",
    "vulnerability_id": "VCID-n4p7-p4qb-r7a2",
    "summary": "Improper Input Validation in Apache Struts\nThe MultiPageValidator implementation in Apache Struts 1 1.1 through 1.3.10 allows remote attackers to bypass intended access restrictions via a modified page parameter.",
    "aliases": [
        {
            "alias": "CVE-2015-0899"
        },
        {
            "alias": "GHSA-cvvx-r33m-v7pq"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63329?format=api",
            "purl": "pkg:maven/org.apache.struts/struts-core@1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-n4p7-p4qb-r7a2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts-core@1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62323?format=api",
            "purl": "pkg:maven/org.apache.struts/struts-core@1.3.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vy2-r1jp-5uhe"
                },
                {
                    "vulnerability": "VCID-n4p7-p4qb-r7a2"
                },
                {
                    "vulnerability": "VCID-renj-v5ce-2khx"
                },
                {
                    "vulnerability": "VCID-yf42-xtpw-dkbk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts-core@1.3.10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63387?format=api",
            "purl": "pkg:maven/struts/struts@1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-23wz-c18f-3ub4"
                },
                {
                    "vulnerability": "VCID-n4p7-p4qb-r7a2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/struts/struts@1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61717?format=api",
            "purl": "pkg:maven/struts/struts@1.2.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vy2-r1jp-5uhe"
                },
                {
                    "vulnerability": "VCID-23wz-c18f-3ub4"
                },
                {
                    "vulnerability": "VCID-n4p7-p4qb-r7a2"
                },
                {
                    "vulnerability": "VCID-yf42-xtpw-dkbk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/struts/struts@1.2.9"
        }
    ],
    "references": [
        {
            "reference_url": "https://en.osdn.jp/projects/terasoluna/wiki/StrutsPatch2-EN",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://en.osdn.jp/projects/terasoluna/wiki/StrutsPatch2-EN"
        },
        {
            "reference_url": "https://github.com/apache/struts",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20180629-0006",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://security.netapp.com/advisory/ntap-20180629-0006"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-0899",
            "reference_id": "CVE-2015-0899",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-0899"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-cvvx-r33m-v7pq",
            "reference_id": "GHSA-cvvx-r33m-v7pq",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-cvvx-r33m-v7pq"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "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-n4p7-p4qb-r7a2"
}