Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37639?format=api",
    "vulnerability_id": "VCID-vex8-56fk-gqdf",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nMultiple cross-site scripting (XSS) vulnerabilities in actionview/lib/action_view/helpers/number_helper.rb in Ruby on Rails beta2 allow remote attackers to inject arbitrary web script or HTML via the (1) format, (2) negative_format, or (3) units parameter to the (a) number_to_currency, (b) number_to_percentage, or (c) number_to_human helper.",
    "aliases": [
        {
            "alias": "CVE-2014-0081"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51735?format=api",
            "purl": "pkg:gem/actionpack@3.2.17",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@3.2.17"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51738?format=api",
            "purl": "pkg:gem/actionpack@4.0.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@4.0.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51739?format=api",
            "purl": "pkg:gem/actionpack@4.1.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@4.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51734?format=api",
            "purl": "pkg:gem/rails@3.2.17",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rails@3.2.17"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51742?format=api",
            "purl": "pkg:gem/rails@4.0.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rails@4.0.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51743?format=api",
            "purl": "pkg:gem/rails@4.1.0.beta2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rails@4.1.0.beta2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51678?format=api",
            "purl": "pkg:gem/actionpack@4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-gadc-jens-nuga"
                },
                {
                    "vulnerability": "VCID-vex8-56fk-gqdf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51737?format=api",
            "purl": "pkg:gem/actionpack@4.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5swj-xwsw-rkac"
                },
                {
                    "vulnerability": "VCID-vex8-56fk-gqdf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@4.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51740?format=api",
            "purl": "pkg:gem/rails@4.0.0.beta",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-vex8-56fk-gqdf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rails@4.0.0.beta"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51741?format=api",
            "purl": "pkg:gem/rails@4.1.0.beta1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7e6a-35vx-6ygj"
                },
                {
                    "vulnerability": "VCID-vex8-56fk-gqdf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rails@4.1.0.beta1"
        }
    ],
    "references": [
        {
            "reference_url": "https://groups.google.com/forum/#!topic/rubyonrails-security/tfp6gZCtzr4",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://groups.google.com/forum/#!topic/rubyonrails-security/tfp6gZCtzr4"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2014-0081",
            "reference_id": "CVE-2014-0081",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-0081"
        }
    ],
    "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-vex8-56fk-gqdf"
}