Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38781?format=api",
    "vulnerability_id": "VCID-fwkj-x53j-yqd8",
    "summary": "Manipulation of Struts internals\nThis package allows remote attackers to manipulate Struts internals, alter user sessions, or affect container settings via vectors involving a top object.",
    "aliases": [
        {
            "alias": "CVE-2015-5209"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52635?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.24.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6dfe-8yy4-kkfj"
                },
                {
                    "vulnerability": "VCID-9mn7-d2mm-uqay"
                },
                {
                    "vulnerability": "VCID-q2ad-khtm-nqdr"
                },
                {
                    "vulnerability": "VCID-qdsq-8td3-5qa1"
                },
                {
                    "vulnerability": "VCID-z1jy-4da2-tyhk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.24.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52680?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.24",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fwkj-x53j-yqd8"
                },
                {
                    "vulnerability": "VCID-qdsq-8td3-5qa1"
                },
                {
                    "vulnerability": "VCID-z1jy-4da2-tyhk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.24"
        }
    ],
    "references": [
        {
            "reference_url": "https://struts.apache.org/docs/s2-026.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://struts.apache.org/docs/s2-026.html"
        }
    ],
    "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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fwkj-x53j-yqd8"
}