Vulnerability · Published Mar 5, 2021 · Assigned by mitre

CVE-2021-3377

Medium 6.1

In plain English

A medium-severity security flaw in the node-ansi-up package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 8.0% (higher than 95% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)8.0%top 5.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Nuclei

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-ansi-up5.0.0+dfsg-1DEBIAN-CVE-2021-3377
Debian:13node-ansi-up5.0.0+dfsg-1DEBIAN-CVE-2021-3377
Debian:14node-ansi-up5.0.0+dfsg-1DEBIAN-CVE-2021-3377
Ubuntu:22.04:LTSnode-ansi-upno fix listedUBUNTU-CVE-2021-3377
npmansi_up5.0.0GHSA-2v5f-23xc-v9qr

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References