Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37601?format=api",
    "vulnerability_id": "VCID-hdmz-kfek-eyer",
    "summary": "Reflective XSS Vulnerability\nWhen a translation is missing, the HTML exception message raised does not escape the keys. Under certain common configurations this string can contain user input which would allow an attacker to execute a reflective XSS attack.",
    "aliases": [
        {
            "alias": "CVE-2013-4492"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51668?format=api",
            "purl": "pkg:gem/i18n@0.5.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/i18n@0.5.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51669?format=api",
            "purl": "pkg:gem/i18n@0.6.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/i18n@0.6.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51680?format=api",
            "purl": "pkg:nuget/i18n@1.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/i18n@1.0.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51667?format=api",
            "purl": "pkg:gem/i18n@0.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hdmz-kfek-eyer"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/i18n@0.6.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51679?format=api",
            "purl": "pkg:nuget/i18n@0.6.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hdmz-kfek-eyer"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/i18n@0.6.5"
        }
    ],
    "references": [
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00093.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00093.html"
        },
        {
            "reference_url": "https://github.com/svenfuchs/i18n/commit/92b57b1e4f84adcdcc3a375278f299274be62445",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/svenfuchs/i18n/commit/92b57b1e4f84adcdcc3a375278f299274be62445"
        },
        {
            "reference_url": "https://groups.google.com/forum/message/raw?msg=ruby-security-ann/pLrh6DUw998/bLFEyIO4k_EJ",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://groups.google.com/forum/message/raw?msg=ruby-security-ann/pLrh6DUw998/bLFEyIO4k_EJ"
        },
        {
            "reference_url": "http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released/"
        },
        {
            "reference_url": "http://www.debian.org/security/2013/dsa-2830",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.debian.org/security/2013/dsa-2830"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/64076",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/64076"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2013-4492",
            "reference_id": "CVE-2013-4492",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-4492"
        }
    ],
    "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": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        },
        {
            "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-hdmz-kfek-eyer"
}