Malicious Code in xterm-addon-unicode-graphemes (npm)

Summary

01/11/2023
CRITICAL
No i
Critical
Not published

MAL-2023-8413: Malicious code in xterm-addon-unicode-graphemes (npm). Affects xterm-addon-unicode-graphemes versions 6.0.6. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The xterm-addon-unicode-graphemes package is an npm package that provides an add-on for the xterm.js library. It is used to enhance the functionality of the xterm.js terminal emulator by adding support for Unicode graphemes. This package allows users to work with complex characters and grapheme clusters in their terminal applications. However, a specific version of this package, 6.0.6, has been identified as malicious.

Vulnerability Detail

The xterm-addon-unicode-graphemes package version 6.0.6 has been flagged as malicious due to the execution of one or more commands associated with malicious behavior. This means that if a user installs or uses this specific version of the package, it may perform actions that compromise the security and integrity of their system. The exact nature of the malicious behavior is not specified in the provided information, but it is important to note that using this version of the package can lead to potential harm.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall xterm-addon-unicode-graphemes

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned in the provided information. However, users can mitigate the risk by avoiding the use of version 6.0.6 of the xterm-addon-unicode-graphemes package and opting for a newer, non-malicious version.

Conclusion

The xterm-addon-unicode-graphemes package version 6.0.6 has been identified as malicious. Users should avoid using this specific version and update to a newer, non-malicious version. Regularly updating dependencies and using vulnerability monitoring tools like Vulert can help ensure the security of your projects. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for xterm-addon-unicode-graphemes →

Share this vulnerability

FAQ

The xterm-addon-unicode-graphemes package is an npm package that provides an add-on for the xterm.js library, enabling support for Unicode graphemes in terminal applications.

Using version 6.0.6 of the xterm-addon-unicode-graphemes package can lead to potential harm as it has been flagged as malicious. The exact nature of the malicious behavior is not specified, but it can compromise the security and integrity of the system.

To fix this vulnerability, it is recommended to avoid using version 6.0.6 of the xterm-addon-unicode-graphemes package. Instead, update to a newer version that is not flagged as malicious. Check the official npm registry or the package's GitHub repository for updates or security advisories.

There is no specific workaround mentioned in the provided information. However, users can mitigate the risk by avoiding the use of version 6.0.6 of the xterm-addon-unicode-graphemes package and opting for a newer, non-malicious version.

To ensure the security of your project, regularly update your dependencies, including the xterm-addon-unicode-graphemes package, to the latest non-malicious versions. Additionally, consider using vulnerability monitoring tools like Vulert to receive real-time alerts for open-source vulnerabilities in your software.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall xterm-addon-unicode-graphemes

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback