Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42342?format=api",
    "vulnerability_id": "VCID-r21j-tf23-vuh2",
    "summary": "Out-of-bounds Write\nAn issue was discovered in PlayJava in Play Framework 2.6.0 through 2.8.2. The body parsing of HTTP requests eagerly parses a payload given a Content-Type header. A deep JSON structure sent to a valid POST endpoint (that may or may not expect JSON payloads) causes a StackOverflowError and Denial of Service.",
    "aliases": [
        {
            "alias": "CVE-2020-27196"
        },
        {
            "alias": "GHSA-h48w-c35p-6m8x"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60539?format=api",
            "purl": "pkg:maven/com.typesafe.play/play@2.7.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.typesafe.play/play@2.7.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60540?format=api",
            "purl": "pkg:maven/com.typesafe.play/play@2.8.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.typesafe.play/play@2.8.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60535?format=api",
            "purl": "pkg:maven/com.typesafe.play/play-java@2.7.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.typesafe.play/play-java@2.7.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60536?format=api",
            "purl": "pkg:maven/com.typesafe.play/play-java@2.8.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.typesafe.play/play-java@2.8.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60538?format=api",
            "purl": "pkg:maven/com.typesafe.play/play@2.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-378h-ypwm-f7hn"
                },
                {
                    "vulnerability": "VCID-r21j-tf23-vuh2"
                },
                {
                    "vulnerability": "VCID-z911-wjbu-kfcf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.typesafe.play/play@2.6.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60458?format=api",
            "purl": "pkg:maven/com.typesafe.play/play@2.8.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-378h-ypwm-f7hn"
                },
                {
                    "vulnerability": "VCID-m5vk-jhf3-xkfw"
                },
                {
                    "vulnerability": "VCID-r21j-tf23-vuh2"
                },
                {
                    "vulnerability": "VCID-z911-wjbu-kfcf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.typesafe.play/play@2.8.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60533?format=api",
            "purl": "pkg:maven/com.typesafe.play/play-java@2.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-r21j-tf23-vuh2"
                },
                {
                    "vulnerability": "VCID-z911-wjbu-kfcf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.typesafe.play/play-java@2.6.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60534?format=api",
            "purl": "pkg:maven/com.typesafe.play/play-java@2.8.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-r21j-tf23-vuh2"
                },
                {
                    "vulnerability": "VCID-z911-wjbu-kfcf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.typesafe.play/play-java@2.8.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/playframework/playframework/pull/10321",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/playframework/playframework/pull/10321"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27196",
            "reference_id": "CVE-2020-27196",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27196"
        },
        {
            "reference_url": "https://www.playframework.com/security/vulnerability/CVE-2020-27196-DosViaJsonStackOverflow",
            "reference_id": "CVE-2020-27196-DOSVIAJSONSTACKOVERFLOW",
            "reference_type": "",
            "scores": [],
            "url": "https://www.playframework.com/security/vulnerability/CVE-2020-27196-DosViaJsonStackOverflow"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-h48w-c35p-6m8x",
            "reference_id": "GHSA-h48w-c35p-6m8x",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-h48w-c35p-6m8x"
        }
    ],
    "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": 787,
            "name": "Out-of-bounds Write",
            "description": "The product writes data past the end, or before the beginning, of the intended buffer."
        },
        {
            "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-r21j-tf23-vuh2"
}