CVE-2021-3377

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-3377
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3377.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-3377
Aliases
Related
Published
2021-03-05T21:15:13Z
Modified
2024-10-12T07:40:09.315323Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

The npm package ansiup converts ANSI escape codes into HTML. In ansiup 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.

References

Affected packages

Debian:11 / node-ansi-up

Package

Name
node-ansi-up
Purl
pkg:deb/debian/node-ansi-up?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.0.0+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / node-ansi-up

Package

Name
node-ansi-up
Purl
pkg:deb/debian/node-ansi-up?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.0.0+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / node-ansi-up

Package

Name
node-ansi-up
Purl
pkg:deb/debian/node-ansi-up?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.0.0+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/drudru/ansi_up

Affected ranges

Type
GIT
Repo
https://github.com/drudru/ansi_up
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2.*

2.0.1

v1.*

v1.1.3
v1.2.0
v1.2.1
v1.3.0

v2.*

v2.0.2

v3.*

v3.0.0

v4.*

v4.0.3
v4.0.4