CVE-2021-32862 nbconvert vulnerable to cross-site scripting (XSS) via multiple exploit paths
MediumCVSS 5.4
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
The GitHub Security Lab discovered sixteen ways to exploit a cross-site scripting vulnerability in nbconvert. When using nbconvert to generate an HTML version of a user-controllable notebook, it is possible to inject arbitrary HTML which may lead to cross-site scripting (XSS) vulnerabilities if these HTML notebooks are served by a web server (eg: nbviewer).
Upgrade path
9 packages: 5 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/nbconvert(Ubuntu 18.04) | = 4.2.0-4; = 5.3.1-1; All versions | No fix listed | No fix yet |
| ubuntu/nbconvert(Ubuntu 20.04) | = 5.4-2ubuntu2; = 5.6.0-1; = 5.6.0-2; = 5.6.1-1 +1 more | No fix listed | No fix yet |
| ubuntu/nbconvert(Ubuntu 22.04) | = 5.6.1-3; = 6.1.0-1; = 6.3.0-1; = 6.4.0-1 +1 more | No fix listed | No fix yet |
| debian/nbconvert(Debian 12) | < 6.5.1-1 | 6.5.1-1 | Fixed |
| debian/nbconvert(Debian 13) | < 6.5.1-1 | 6.5.1-1 | Fixed |
| debian/nbconvert(Debian 14) | < 6.5.1-1 | 6.5.1-1 | Fixed |
| jupyter nbconvert | <= 6.2.0; = <= 6.2 | after 6.2.0 | Fixed |
| pypi nbconvert(PyPI) | < 6.3.0a0; < 6.5.1; = 0.0.0; = 4.0.0 +49 more | 6.3.0a0, 6.5.1 | Fixed |
| debian linux | = 10.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi nbconvert(PyPI) | < 6.5.1 | 6.5.1 |
| pypi nbconvert(PyPI) | = 0.0.0 | No fix listed |
| pypi nbconvert(PyPI) | = 4.0.0 | No fix listed |
| pypi nbconvert(PyPI) | = 4.1.0 | No fix listed |
| pypi nbconvert(PyPI) | = 4.2.0 | No fix listed |
| pypi nbconvert(PyPI) | = 4.3.0 | No fix listed |
| pypi nbconvert(PyPI) | = 5.0.0 | No fix listed |
| pypi nbconvert(PyPI) | = 5.0.0b1 | No fix listed |
| pypi nbconvert(PyPI) | = 5.1.0 | No fix listed |
| pypi nbconvert(PyPI) | = 5.1.1 | No fix listed |
| pypi nbconvert(PyPI) | = 5.2.1 | No fix listed |
| pypi nbconvert(PyPI) | = 5.3.0 | No fix listed |
| pypi nbconvert(PyPI) | = 5.3.1 | No fix listed |
| pypi nbconvert(PyPI) | = 5.4.0 | No fix listed |
| pypi nbconvert(PyPI) | = 5.4.1 | No fix listed |
| pypi nbconvert(PyPI) | = 5.4.1.dev0 | No fix listed |
| pypi nbconvert(PyPI) | = 5.5.0 | No fix listed |
| pypi nbconvert(PyPI) | = 5.6.0 | No fix listed |
| pypi nbconvert(PyPI) | = 5.6.1 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0a0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0a1 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0a2 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0a3 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0a4 | No fix listed |
Show 47 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi nbconvert(PyPI) | = 6.0.0a5 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0a6 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0b7 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.0rc0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.1 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.2 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.3 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.4 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.5 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.6 | No fix listed |
| pypi nbconvert(PyPI) | = 6.0.7 | No fix listed |
| pypi nbconvert(PyPI) | = 6.1.0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.1.0rc0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.1.1b0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.2.0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.2.0rc0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.2.0rc1 | No fix listed |
| pypi nbconvert(PyPI) | = 6.2.0rc2 | No fix listed |
| pypi nbconvert(PyPI) | = 6.3.0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.3.0b0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.4.0 | No fix listed |
| pypi nbconvert(PyPI) | = 6.4.1 | No fix listed |
| pypi nbconvert(PyPI) | = 6.4.2 | No fix listed |
| pypi nbconvert(PyPI) | = 6.4.3 | No fix listed |
| pypi nbconvert(PyPI) | = 6.4.4 | No fix listed |
| pypi nbconvert(PyPI) | = 6.4.5 | No fix listed |
| pypi nbconvert(PyPI) | = 6.5.0 | No fix listed |
| pypi nbconvert(PyPI) | < 6.3.0a0 | 6.3.0a0 |
| debian/nbconvert(Debian:12) | < 6.5.1-1 | 6.5.1-1 |
| debian/nbconvert(Debian:13) | < 6.5.1-1 | 6.5.1-1 |
| debian/nbconvert(Debian:14) | < 6.5.1-1 | 6.5.1-1 |
| ubuntu/nbconvert(Ubuntu:22.04) | All versions | No fix listed |
| jupyter nbconvert | <= 6.2.0 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| jupyter nbconvert | = <= 6.2 | No fix listed |
| ubuntu/nbconvert(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/nbconvert(Ubuntu:18.04) | = 4.2.0-4 | No fix listed |
| ubuntu/nbconvert(Ubuntu:18.04) | = 5.3.1-1 | No fix listed |
| ubuntu/nbconvert(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/nbconvert(Ubuntu:20.04) | = 5.4-2ubuntu2 | No fix listed |
| ubuntu/nbconvert(Ubuntu:20.04) | = 5.6.0-1 | No fix listed |
| ubuntu/nbconvert(Ubuntu:20.04) | = 5.6.0-2 | No fix listed |
| ubuntu/nbconvert(Ubuntu:20.04) | = 5.6.1-1 | No fix listed |
| ubuntu/nbconvert(Ubuntu:22.04) | = 5.6.1-3 | No fix listed |
| ubuntu/nbconvert(Ubuntu:22.04) | = 6.1.0-1 | No fix listed |
| ubuntu/nbconvert(Ubuntu:22.04) | = 6.3.0-1 | No fix listed |
| ubuntu/nbconvert(Ubuntu:22.04) | = 6.4.0-1 | No fix listed |
References
- github.com exploit issue-tracking third-party-advisory vendor-advisory
- github.com broken-link issue-tracking vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com
- [debian-lts-announce] 20230603 [SECURITY] [DLA 3442-1] nbconvert security update mailing-list third-party-advisory
- github.com
- Debian Security Tracker CVE-2021-32862 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- lists.debian.org