CVE-2021-3377
Ansi Up Project Ansi Up vulnerability
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
Ansi Up. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ansi Up Project Ansi Up runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nvd.nist.gov/vuln/detail/CVE-2021-3377
- github.com/drudru/ansi_up/commit/c8c726ed1db979bae4f257b7fa41775155ba2e27
- doyensec.com/resources/Doyensec_Advisory_ansi_up4_XSS.pdf
- security.netapp.com/advisory/ntap-20241108-0002
- github.com/advisories/GHSA-2v5f-23xc-v9qr
- security.netapp.com/advisory/ntap-20241108-0002/
- nvd.nist.gov/vuln/detail/CVE-2021-3377
- cve.org/CVERecord?id=CVE-2021-3377
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.