Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37556?format=api",
    "vulnerability_id": "VCID-1exe-1vfk-f7bn",
    "summary": "Allows open redirects\nMultiple open redirect vulnerabilities in this package allow remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a URL in a parameter using the `redirect:` or `redirectAction:` prefix.",
    "aliases": [
        {
            "alias": "CVE-2013-2248"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51518?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.15.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-z6wr-3psx-dbfm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.15.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51175?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2-alpha0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1exe-1vfk-f7bn"
                },
                {
                    "vulnerability": "VCID-1kjb-use6-23eu"
                },
                {
                    "vulnerability": "VCID-4x3k-a11x-7bee"
                },
                {
                    "vulnerability": "VCID-84ge-vq7u-j3ar"
                },
                {
                    "vulnerability": "VCID-89az-256b-mubw"
                },
                {
                    "vulnerability": "VCID-e78f-s5z5-qkgs"
                },
                {
                    "vulnerability": "VCID-emya-8et9-n7a9"
                },
                {
                    "vulnerability": "VCID-kc4z-fnyk-tkdu"
                },
                {
                    "vulnerability": "VCID-kcy9-3d45-23b1"
                },
                {
                    "vulnerability": "VCID-kmqa-hsqy-muf1"
                },
                {
                    "vulnerability": "VCID-wsvw-qwt7-qbg1"
                },
                {
                    "vulnerability": "VCID-xd9a-gdh3-97ar"
                },
                {
                    "vulnerability": "VCID-z6wr-3psx-dbfm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2-alpha0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51517?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.15",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1exe-1vfk-f7bn"
                },
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-hrky-nmnv-g3eu"
                },
                {
                    "vulnerability": "VCID-mmth-7rgf-aqfa"
                },
                {
                    "vulnerability": "VCID-z1jy-4da2-tyhk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.15"
        }
    ],
    "references": [
        {
            "reference_url": "http://struts.apache.org/docs/s2-017.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://struts.apache.org/docs/s2-017.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-1exe-1vfk-f7bn"
}