Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43065?format=api",
    "vulnerability_id": "VCID-5jm8-9upn-g7f4",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nCross-site scripting (XSS) vulnerability in Apache Tomcat 4.1 allows remote attackers to execute arbitrary web script and steal cookies via a URL with encoded newlines followed by a request to a .jsp file whose name contains the script.",
    "aliases": [
        {
            "alias": "CVE-2002-1567"
        },
        {
            "alias": "GHSA-86fp-jgwm-wgj5"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61634?format=api",
            "purl": "pkg:maven/org.apache.tomcat/tomcat@4.1.29",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@4.1.29"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61616?format=api",
            "purl": "pkg:maven/org.apache.tomcat/tomcat@4.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2af1-rv9j-jugv"
                },
                {
                    "vulnerability": "VCID-2jws-wtvg-2khf"
                },
                {
                    "vulnerability": "VCID-5jm8-9upn-g7f4"
                },
                {
                    "vulnerability": "VCID-7787-4bwm-efgq"
                },
                {
                    "vulnerability": "VCID-96yu-fvee-wfbs"
                },
                {
                    "vulnerability": "VCID-ccfn-tde4-s7hr"
                },
                {
                    "vulnerability": "VCID-crhe-rt8j-wycu"
                },
                {
                    "vulnerability": "VCID-eygg-nt7y-qubh"
                },
                {
                    "vulnerability": "VCID-hmqa-jhuf-hfe2"
                },
                {
                    "vulnerability": "VCID-kxc3-vz2c-wqca"
                },
                {
                    "vulnerability": "VCID-qz87-x4zb-rud7"
                },
                {
                    "vulnerability": "VCID-rdr4-db3y-p3cz"
                },
                {
                    "vulnerability": "VCID-sjn3-a6fs-gyck"
                },
                {
                    "vulnerability": "VCID-t4mh-zvhq-27du"
                },
                {
                    "vulnerability": "VCID-wg7f-pjmn-uudk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@4.1.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@<dev.tomcat.apache.org>",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@<dev.tomcat.apache.org>"
        },
        {
            "reference_url": "https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@<dev.tomcat.apache.org>",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@<dev.tomcat.apache.org>"
        },
        {
            "reference_url": "https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@<dev.tomcat.apache.org>",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@<dev.tomcat.apache.org>"
        },
        {
            "reference_url": "https://web.archive.org/web/20041213160616/http://archives.neohapsis.com/archives/vuln-dev/2002-q3/0482.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20041213160616/http://archives.neohapsis.com/archives/vuln-dev/2002-q3/0482.html"
        },
        {
            "reference_url": "http://tomcat.apache.org/security-4.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://tomcat.apache.org/security-4.html"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2002-1567",
            "reference_id": "CVE-2002-1567",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2002-1567"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-86fp-jgwm-wgj5",
            "reference_id": "GHSA-86fp-jgwm-wgj5",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-86fp-jgwm-wgj5"
        }
    ],
    "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-5jm8-9upn-g7f4"
}