Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5287?format=api",
    "vulnerability_id": "VCID-7bwr-bsbp-rqgc",
    "summary": "cross-site scripting",
    "aliases": [
        {
            "alias": "CVE-2021-32798"
        },
        {
            "alias": "GHSA-hwvq-6gjx-j797"
        },
        {
            "alias": "PYSEC-2021-118"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/2251?format=api",
            "purl": "pkg:alpm/archlinux/jupyter-notebook@6.4.3-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/jupyter-notebook@6.4.3-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18989?format=api",
            "purl": "pkg:pypi/notebook@5.7.11",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bhm-ewdv-zbeq"
                },
                {
                    "vulnerability": "VCID-ts53-zf55-zkcn"
                },
                {
                    "vulnerability": "VCID-v436-yfae-x7d5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/notebook@5.7.11"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/27403?format=api",
            "purl": "pkg:pypi/notebook@6.4.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bhm-ewdv-zbeq"
                },
                {
                    "vulnerability": "VCID-ts53-zf55-zkcn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/notebook@6.4.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/2250?format=api",
            "purl": "pkg:alpm/archlinux/jupyter-notebook@6.3.0-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7bwr-bsbp-rqgc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/jupyter-notebook@6.3.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/12501?format=api",
            "purl": "pkg:pypi/notebook@5.7.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bhm-ewdv-zbeq"
                },
                {
                    "vulnerability": "VCID-7bwr-bsbp-rqgc"
                },
                {
                    "vulnerability": "VCID-7r44-pfgv-vfhx"
                },
                {
                    "vulnerability": "VCID-cq6c-5wrp-6uf8"
                },
                {
                    "vulnerability": "VCID-d8dn-ga5x-pyc8"
                },
                {
                    "vulnerability": "VCID-ng3p-zbry-8fer"
                },
                {
                    "vulnerability": "VCID-ts53-zf55-zkcn"
                },
                {
                    "vulnerability": "VCID-v436-yfae-x7d5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/notebook@5.7.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/12502?format=api",
            "purl": "pkg:pypi/notebook@5.7.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bhm-ewdv-zbeq"
                },
                {
                    "vulnerability": "VCID-7bwr-bsbp-rqgc"
                },
                {
                    "vulnerability": "VCID-7r44-pfgv-vfhx"
                },
                {
                    "vulnerability": "VCID-d8dn-ga5x-pyc8"
                },
                {
                    "vulnerability": "VCID-ng3p-zbry-8fer"
                },
                {
                    "vulnerability": "VCID-ts53-zf55-zkcn"
                },
                {
                    "vulnerability": "VCID-v436-yfae-x7d5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/notebook@5.7.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/12503?format=api",
            "purl": "pkg:pypi/notebook@5.7.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bhm-ewdv-zbeq"
                },
                {
                    "vulnerability": "VCID-7bwr-bsbp-rqgc"
                },
                {
                    "vulnerability": "VCID-7r44-pfgv-vfhx"
                },
                {
                    "vulnerability": "VCID-d8dn-ga5x-pyc8"
                },
                {
                    "vulnerability": "VCID-ts53-zf55-zkcn"
                },
                {
                    "vulnerability": "VCID-v436-yfae-x7d5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/notebook@5.7.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/13080?format=api",
            "purl": "pkg:pypi/notebook@5.7.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bhm-ewdv-zbeq"
                },
                {
                    "vulnerability": "VCID-7bwr-bsbp-rqgc"
                },
                {
                    "vulnerability": "VCID-7r44-pfgv-vfhx"
                },
                {
                    "vulnerability": "VCID-d8dn-ga5x-pyc8"
                },
                {
                    "vulnerability": "VCID-ts53-zf55-zkcn"
                },
                {
                    "vulnerability": "VCID-v436-yfae-x7d5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/notebook@5.7.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/13081?format=api",
            "purl": "pkg:pypi/notebook@5.7.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bhm-ewdv-zbeq"
                },
                {
                    "vulnerability": "VCID-7bwr-bsbp-rqgc"
                },
                {
                    "vulnerability": "VCID-7r44-pfgv-vfhx"
                },
                {
                    "vulnerability": "VCID-d8dn-ga5x-pyc8"
                },
                {
                    "vulnerability": "VCID-ts53-zf55-zkcn"
                },
                {
                    "vulnerability": "VCID-v436-yfae-x7d5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/notebook@5.7.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/13082?format=api",
            "purl": "pkg:pypi/notebook@5.7.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bhm-ewdv-zbeq"
                },
                {
                    "vulnerability": "VCID-7bwr-bsbp-rqgc"
                },
                {
                    "vulnerability": "VCID-7r44-pfgv-vfhx"
                },
                {
                    "vulnerability": "VCID-d8dn-ga5x-pyc8"
                },
                {
                    "vulnerability": "VCID-ts53-zf55-zkcn"
                },
                {
                    "vulnerability": "VCID-v436-yfae-x7d5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/notebook@5.7.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/13083?format=api",
            "purl": "pkg:pypi/notebook@5.7.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bhm-ewdv-zbeq"
                },
                {
                    "vulnerability": "VCID-7bwr-bsbp-rqgc"
                },
                {
                    "vulnerability": "VCID-7r44-pfgv-vfhx"
                },
                {
                    "vulnerability": "VCID-ts53-zf55-zkcn"
                },
                {
                    "vulnerability": "VCID-v436-yfae-x7d5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/notebook@5.7.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/13210?format=api",
            "purl": "pkg:pypi/notebook@5.7.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bhm-ewdv-zbeq"
                },
                {
                    "vulnerability": "VCID-7bwr-bsbp-rqgc"
                },
                {
                    "vulnerability": "VCID-ts53-zf55-zkcn"
                },
                {
                    "vulnerability": "VCID-v436-yfae-x7d5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/notebook@5.7.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18987?format=api",
            "purl": "pkg:pypi/notebook@5.7.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bhm-ewdv-zbeq"
                },
                {
                    "vulnerability": "VCID-7bwr-bsbp-rqgc"
                },
                {
                    "vulnerability": "VCID-ts53-zf55-zkcn"
                },
                {
                    "vulnerability": "VCID-v436-yfae-x7d5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/notebook@5.7.9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18988?format=api",
            "purl": "pkg:pypi/notebook@5.7.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bhm-ewdv-zbeq"
                },
                {
                    "vulnerability": "VCID-7bwr-bsbp-rqgc"
                },
                {
                    "vulnerability": "VCID-ts53-zf55-zkcn"
                },
                {
                    "vulnerability": "VCID-v436-yfae-x7d5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/notebook@5.7.10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18993?format=api",
            "purl": "pkg:pypi/notebook@6.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bhm-ewdv-zbeq"
                },
                {
                    "vulnerability": "VCID-7bwr-bsbp-rqgc"
                },
                {
                    "vulnerability": "VCID-evfb-eau7-9ybb"
                },
                {
                    "vulnerability": "VCID-ts53-zf55-zkcn"
                },
                {
                    "vulnerability": "VCID-v436-yfae-x7d5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/notebook@6.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/jupyter/notebook",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/jupyter/notebook"
        },
        {
            "reference_url": "https://github.com/jupyter/notebook/commit/79fc76e890a8ec42f73a3d009e44ef84c14ef0d5",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/jupyter/notebook/commit/79fc76e890a8ec42f73a3d009e44ef84c14ef0d5"
        },
        {
            "reference_url": "https://github.com/jupyter/notebook/security/advisories/GHSA-hwvq-6gjx-j797",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/jupyter/notebook/security/advisories/GHSA-hwvq-6gjx-j797"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2021-118.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2021-118.yaml"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-2267",
            "reference_id": "AVG-2267",
            "reference_type": "",
            "scores": [
                {
                    "value": "High",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2267"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32798",
            "reference_id": "CVE-2021-32798",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32798"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-hwvq-6gjx-j797",
            "reference_id": "GHSA-hwvq-6gjx-j797",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-hwvq-6gjx-j797"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 75,
            "name": "Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)",
            "description": "The product does not adequately filter user-controlled input for special elements with control implications."
        },
        {
            "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": 80,
            "name": "Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)",
            "description": "The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as <, >, and & that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages."
        },
        {
            "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."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7bwr-bsbp-rqgc"
}