Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38062?format=api",
    "vulnerability_id": "VCID-k11p-9ja1-nfhp",
    "summary": "Code Injection\nBeanShell when included on the classpath by an application that uses Java serialization or XStream, allows remote attackers to execute arbitrary code via crafted serialized data, related to `XThis.Handler`.",
    "aliases": [
        {
            "alias": "CVE-2016-2510"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52606?format=api",
            "purl": "pkg:maven/org.apache-extras.beanshell/bsh@2.0b6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache-extras.beanshell/bsh@2.0b6"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52605?format=api",
            "purl": "pkg:maven/org.apache-extras.beanshell/bsh@2.0b5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-k11p-9ja1-nfhp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache-extras.beanshell/bsh@2.0b5"
        }
    ],
    "references": [
        {
            "reference_url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2510",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2510"
        },
        {
            "reference_url": "https://github.com/beanshell/beanshell/releases/tag/2.0b6",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/beanshell/beanshell/releases/tag/2.0b6"
        },
        {
            "reference_url": "https://www.rsaconference.com/writable/presentations/file_upload/asd-f03-serial-killer-silently-pwning-your-java-endpoints.pdf",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.rsaconference.com/writable/presentations/file_upload/asd-f03-serial-killer-silently-pwning-your-java-endpoints.pdf"
        },
        {
            "reference_url": "https://access.redhat.com/security/cve/cve-2016-2510",
            "reference_id": "CVE-2016-2510",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/security/cve/cve-2016-2510"
        }
    ],
    "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": 19,
            "name": "Data Processing Errors",
            "description": "Weaknesses in this category are typically found in functionality that processes data. Data processing is the manipulation of input to retrieve or save information."
        },
        {
            "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-k11p-9ja1-nfhp"
}