Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38060?format=api",
    "vulnerability_id": "VCID-nt1m-frdh-tbbq",
    "summary": "Improper Input Validation\nThe Rails gem allows remote attackers to execute arbitrary Ruby code by leveraging an application's unrestricted use of the render method.",
    "aliases": [
        {
            "alias": "CVE-2016-2098"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52597?format=api",
            "purl": "pkg:gem/actionpack@3.2.22.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@3.2.22.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52603?format=api",
            "purl": "pkg:gem/actionpack@4.1.14.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@4.1.14.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52604?format=api",
            "purl": "pkg:gem/actionpack@4.2.5.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@4.2.5.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52593?format=api",
            "purl": "pkg:gem/rails@4.2.5.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rails@4.2.5.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52596?format=api",
            "purl": "pkg:gem/actionpack@3.2.0.0.alpha",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7spd-zybv-pbgm"
                },
                {
                    "vulnerability": "VCID-nt1m-frdh-tbbq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@3.2.0.0.alpha"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52601?format=api",
            "purl": "pkg:gem/actionpack@4.0.0.0.alpha",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nt1m-frdh-tbbq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@4.0.0.0.alpha"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52602?format=api",
            "purl": "pkg:gem/actionpack@4.2.0.0.alpha",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nt1m-frdh-tbbq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@4.2.0.0.alpha"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52524?format=api",
            "purl": "pkg:gem/rails@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3dku-wb6v-27gj"
                },
                {
                    "vulnerability": "VCID-nt1m-frdh-tbbq"
                },
                {
                    "vulnerability": "VCID-wake-zgkk-vber"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rails@4.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52592?format=api",
            "purl": "pkg:gem/rails@4.2.5.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nt1m-frdh-tbbq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rails@4.2.5.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://groups.google.com/forum/#!topic/ruby-security-ann/ly-IH-fxr_Q",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://groups.google.com/forum/#!topic/ruby-security-ann/ly-IH-fxr_Q"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-2098",
            "reference_id": "CVE-2016-2098",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-2098"
        }
    ],
    "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-nt1m-frdh-tbbq"
}