Vulnerability DatabaseGHSA-fm7r-2pr7-rw2p

GHSA-fm7r-2pr7-rw2p
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-fm7r-2pr7-rw2p) was identified in the npm package 'yeoman-genrator' version 3.1.1, which was discovered to contain malicious code in its preinstall script. This security issue was published to the GitHub Advisory Database on September 2, 2020, and last updated on January 9, 2023. The package was specifically designed as malware to exploit users who make typographical errors when attempting to install legitimate modules (GitHub Advisory).

Technical details

The vulnerability has been assigned a Critical severity rating with a CVSS score of 9.8. The technical assessment reveals that the malware operates with Network attack vector, Low attack complexity, requires No privileges, and needs No user interaction. The CVSS metrics indicate High impact on Confidentiality, Integrity, and Availability. The vulnerability is classified under CWE-506 (GitHub Advisory).

Impact

When installed, the malicious package downloads and executes a file from a remote server and establishes a backdoor, potentially giving attackers full control of the compromised system. Any computer with this package installed should be considered fully compromised, with all secrets and keys stored on the affected system at risk of exposure (GitHub Advisory).

Exploitability

The package is actively malicious and designed to be exploited immediately upon installation. It takes advantage of typosquatting, targeting users who accidentally mistype the name of a legitimate module during installation (GitHub Advisory).

Mitigation and workarounds

The recommended mitigation steps include immediate removal of the package from affected systems. However, due to the nature of the compromise, removing the package may not eliminate all malicious software installed. All secrets and keys stored on affected computers should be rotated immediately from a different, uncompromised system (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2021-43309HIGH7.5
  • JavaScript logoJavaScript
  • uri-template-lite
NoYesAug 24, 2022
CVE-2022-24375HIGH7.5
  • JavaScript logoJavaScript
  • node-opcua
NoYesAug 24, 2022
CVE-2022-25231HIGH7.5
  • JavaScript logoJavaScript
  • node-opcua
NoYesAug 23, 2022
CVE-2022-21208HIGH7.5
  • JavaScript logoJavaScript
  • node-opcua
NoYesAug 23, 2022
CVE-2022-2932MEDIUM6.1
  • JavaScript logoJavaScript
  • mobiledoc-kit
NoYesAug 22, 2022

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management