Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35904?format=api",
    "vulnerability_id": "VCID-v61t-4jv9-j3bv",
    "summary": "JupyterHub is an open source multi-user server for Jupyter notebooks. In affected versions users who have multiple JupyterLab tabs open in the same browser session, may see incomplete logout from the single-user server, as fresh credentials (for the single-user server only, not the Hub) reinstated after logout, if another active JupyterLab session is open while the logout takes place. Upgrade to JupyterHub 1.5. For distributed deployments, it is jupyterhub in the _user_ environment that needs patching. There are no patches necessary in the Hub environment. The only workaround is to make sure that only one JupyterLab tab is open when you log out.",
    "aliases": [
        {
            "alias": "CVE-2021-41247"
        },
        {
            "alias": "GHSA-cw7p-q79f-m2v7"
        },
        {
            "alias": "PYSEC-2021-386"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/100260?format=api",
            "purl": "pkg:deb/debian/jupyterhub@2.0.0%2Bds1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/jupyterhub@2.0.0%252Bds1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/100255?format=api",
            "purl": "pkg:deb/debian/jupyterhub@3.0.0%2Bds1-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g6zf-6yqx-r7gx"
                },
                {
                    "vulnerability": "VCID-jruk-8qvr-d3hh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/jupyterhub@3.0.0%252Bds1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/100258?format=api",
            "purl": "pkg:deb/debian/jupyterhub@5.2.1%2Bds1-4?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/jupyterhub@5.2.1%252Bds1-4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/100257?format=api",
            "purl": "pkg:deb/debian/jupyterhub@5.2.1%2Bds1-5?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/jupyterhub@5.2.1%252Bds1-5%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/24852?format=api",
            "purl": "pkg:pypi/jupyterhub@1.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jruk-8qvr-d3hh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterhub@1.5.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/19774?format=api",
            "purl": "pkg:pypi/jupyterhub@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jruk-8qvr-d3hh"
                },
                {
                    "vulnerability": "VCID-n2n2-cfn6-fyau"
                },
                {
                    "vulnerability": "VCID-v61t-4jv9-j3bv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterhub@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/19775?format=api",
            "purl": "pkg:pypi/jupyterhub@1.1.0b1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jruk-8qvr-d3hh"
                },
                {
                    "vulnerability": "VCID-n2n2-cfn6-fyau"
                },
                {
                    "vulnerability": "VCID-v61t-4jv9-j3bv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterhub@1.1.0b1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/19776?format=api",
            "purl": "pkg:pypi/jupyterhub@1.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jruk-8qvr-d3hh"
                },
                {
                    "vulnerability": "VCID-n2n2-cfn6-fyau"
                },
                {
                    "vulnerability": "VCID-v61t-4jv9-j3bv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterhub@1.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/19777?format=api",
            "purl": "pkg:pypi/jupyterhub@1.2.0b1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jruk-8qvr-d3hh"
                },
                {
                    "vulnerability": "VCID-v61t-4jv9-j3bv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterhub@1.2.0b1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/24845?format=api",
            "purl": "pkg:pypi/jupyterhub@1.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jruk-8qvr-d3hh"
                },
                {
                    "vulnerability": "VCID-v61t-4jv9-j3bv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterhub@1.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/24846?format=api",
            "purl": "pkg:pypi/jupyterhub@1.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jruk-8qvr-d3hh"
                },
                {
                    "vulnerability": "VCID-v61t-4jv9-j3bv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterhub@1.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/24847?format=api",
            "purl": "pkg:pypi/jupyterhub@1.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jruk-8qvr-d3hh"
                },
                {
                    "vulnerability": "VCID-v61t-4jv9-j3bv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterhub@1.2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/24848?format=api",
            "purl": "pkg:pypi/jupyterhub@1.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jruk-8qvr-d3hh"
                },
                {
                    "vulnerability": "VCID-v61t-4jv9-j3bv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterhub@1.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/24849?format=api",
            "purl": "pkg:pypi/jupyterhub@1.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jruk-8qvr-d3hh"
                },
                {
                    "vulnerability": "VCID-v61t-4jv9-j3bv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterhub@1.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/24850?format=api",
            "purl": "pkg:pypi/jupyterhub@1.4.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jruk-8qvr-d3hh"
                },
                {
                    "vulnerability": "VCID-v61t-4jv9-j3bv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterhub@1.4.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/24851?format=api",
            "purl": "pkg:pypi/jupyterhub@1.4.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jruk-8qvr-d3hh"
                },
                {
                    "vulnerability": "VCID-v61t-4jv9-j3bv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterhub@1.4.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-41247",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00212",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43771",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-41247"
        },
        {
            "reference_url": "https://github.com/jupyterhub/jupyterhub",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/jupyterhub/jupyterhub"
        },
        {
            "reference_url": "https://github.com/jupyterhub/jupyterhub/commit/5ac9e7f73a6e1020ffddc40321fc53336829fe27",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/jupyterhub/jupyterhub/commit/5ac9e7f73a6e1020ffddc40321fc53336829fe27"
        },
        {
            "reference_url": "https://github.com/jupyterhub/jupyterhub/security/advisories/GHSA-cw7p-q79f-m2v7",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/jupyterhub/jupyterhub/security/advisories/GHSA-cw7p-q79f-m2v7"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/jupyterhub/PYSEC-2021-386.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/jupyterhub/PYSEC-2021-386.yaml"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41247",
            "reference_id": "CVE-2021-41247",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41247"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-cw7p-q79f-m2v7",
            "reference_id": "GHSA-cw7p-q79f-m2v7",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-cw7p-q79f-m2v7"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 613,
            "name": "Insufficient Session Expiration",
            "description": "According to WASC, Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization."
        },
        {
            "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": "3.5 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-v61t-4jv9-j3bv"
}