Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37394?format=api",
    "vulnerability_id": "VCID-e78f-s5z5-qkgs",
    "summary": "XWork ParameterInterceptors bypass allows remote command execution\nThe OGNL extensive expression evaluation capability in this package as used in Atlassian Fisheye, Crucible, and possibly other products, uses a permissive allowlist, which allows remote attackers to modify server-side context objects and bypass the \"#\" protection mechanism in ParameterInterceptors via the `#context`, `#_memberAccess`, `#root`, `#this`, `#_typeResolver`, `#_classResolver`, `#_traceEvaluations`, `#_lastEvaluation`, `#_keepLastEvaluation`, and possibly other OGNL context variables, a different vulnerability than CVE-2008-6504.",
    "aliases": [
        {
            "alias": "CVE-2010-1870"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51177?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-z1jy-4da2-tyhk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.2.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/51176?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.1.8.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-e78f-s5z5-qkgs"
                },
                {
                    "vulnerability": "VCID-z1jy-4da2-tyhk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.1.8.1"
        }
    ],
    "references": [
        {
            "reference_url": "http://struts.apache.org/docs/s2-005.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://struts.apache.org/docs/s2-005.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": 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-e78f-s5z5-qkgs"
}