UBUNTU-CVE-2021-3377

Source
https://ubuntu.com/security/CVE-2021-3377
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3377.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-3377
Related
Published
2021-03-05T21:15:00Z
Modified
2024-10-15T14:08:12Z
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

Ubuntu:20.04:LTS / node-ansi-up

Package

Name
node-ansi-up
Purl
pkg:deb/ubuntu/node-ansi-up?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.0.3+dfsg-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / node-ansi-up

Package

Name
node-ansi-up
Purl
pkg:deb/ubuntu/node-ansi-up?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*

5.0.0+dfsg-1
5.1.0+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}