CVE-2021-3377 ansi_up cross-site scripting vulnerability
MediumCVSS 6.1
EPSS 7.6%
- Published
- Updated
- Exploit status
- No public exploit known
Description
The npm package ansi_up converts ANSI escape codes into HTML. In ansi_up v4, ANSI escape codes can be used to create HTML hyperlinks. Due to insufficient URL sanitization, this feature is affected by a cross-site scripting (XSS) vulnerability. This issue is fixed in v5.0.0.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/node-ansi-up(Ubuntu:22.04) | All versions | No fix listed |
| debian/node-ansi-up(Debian:12) | < 5.0.0+dfsg-1 | 5.0.0+dfsg-1 |
| debian/node-ansi-up(Debian:13) | < 5.0.0+dfsg-1 | 5.0.0+dfsg-1 |
| debian/node-ansi-up(Debian:14) | < 5.0.0+dfsg-1 | 5.0.0+dfsg-1 |
| npm ansi_up(npm) | < 5.0.0 | 5.0.0 |
| ansi up project ansi up | < 5.0.0 | 5.0.0 |
| ubuntu/node-ansi-up(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/node-ansi-up(Ubuntu:20.04) | = 4.0.3+dfsg-2 | No fix listed |
| ubuntu/node-ansi-up(Ubuntu:22.04) | = 5.0.0+dfsg-1 | No fix listed |
| ubuntu/node-ansi-up(Ubuntu:22.04) | = 5.1.0+dfsg-1 | No fix listed |
References
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- Debian Security Tracker CVE-2021-3377 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- doyensec.com exploit issue-tracking third-party-advisory
- security.netapp.com
- github.com
- bugs.debian.org issue-tracking