Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39063?format=api",
    "vulnerability_id": "VCID-vp3u-cexw-57a4",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nCross-site scripting (XSS) vulnerability in the strip_tags helper in actionpack/lib/action_controller/vendor/html-scanner/html/node.rb in Ruby on Rails before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5 allows remote attackers to inject arbitrary web script or HTML via a tag with an invalid name.",
    "aliases": [
        {
            "alias": "CVE-2011-2931"
        },
        {
            "alias": "GHSA-v5jg-558j-q67c"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51207?format=api",
            "purl": "pkg:gem/actionpack@2.3.13",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@2.3.13"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54486?format=api",
            "purl": "pkg:gem/actionpack@3.0.10",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@3.0.10"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51658?format=api",
            "purl": "pkg:gem/actionpack@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-chxq-j9us-cygh"
                },
                {
                    "vulnerability": "VCID-hdu6-u2pb-aqhp"
                },
                {
                    "vulnerability": "VCID-vp3u-cexw-57a4"
                },
                {
                    "vulnerability": "VCID-z94j-z575-4ydx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51279?format=api",
            "purl": "pkg:gem/actionpack@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5swj-xwsw-rkac"
                },
                {
                    "vulnerability": "VCID-75m1-xqdk-j7f3"
                },
                {
                    "vulnerability": "VCID-bcwq-ngna-fqhd"
                },
                {
                    "vulnerability": "VCID-chxq-j9us-cygh"
                },
                {
                    "vulnerability": "VCID-sw7t-5s3e-vkhx"
                },
                {
                    "vulnerability": "VCID-t9c8-r3yp-sbde"
                },
                {
                    "vulnerability": "VCID-vp3u-cexw-57a4"
                },
                {
                    "vulnerability": "VCID-ypcy-hry9-5fa3"
                },
                {
                    "vulnerability": "VCID-z21g-8h32-yyf6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@3.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "http://groups.google.com/group/rubyonrails-security/msg/fd41ab62966e0fd1?dmode=source&output=gplain",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://groups.google.com/group/rubyonrails-security/msg/fd41ab62966e0fd1?dmode=source&output=gplain"
        },
        {
            "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065109.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065109.html"
        },
        {
            "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065137.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065137.html"
        },
        {
            "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.html"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=731436",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=731436"
        },
        {
            "reference_url": "http://secunia.com/advisories/45921",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/45921"
        },
        {
            "reference_url": "https://github.com/rails/rails/commit/586a944ddd4d03e66dea1093306147594748037a",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/rails/rails/commit/586a944ddd4d03e66dea1093306147594748037a"
        },
        {
            "reference_url": "http://weblog.rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://weblog.rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6"
        },
        {
            "reference_url": "http://www.debian.org/security/2011/dsa-2301",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.debian.org/security/2011/dsa-2301"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2011/08/17/1",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2011/08/17/1"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2011/08/19/11",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2011/08/19/11"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2011/08/20/1",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2011/08/20/1"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2011/08/22/13",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2011/08/22/13"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2011/08/22/14",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2011/08/22/14"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2011/08/22/5",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2011/08/22/5"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2011-2931",
            "reference_id": "CVE-2011-2931",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2011-2931"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-v5jg-558j-q67c",
            "reference_id": "GHSA-v5jg-558j-q67c",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-v5jg-558j-q67c"
        }
    ],
    "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-vp3u-cexw-57a4"
}