GHSA-pjwm-rvh2-c87w:
Embedded malware in ua-parser-js
8.8
CVSS Score
3.1
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
10/22/2021
Updated
7/28/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
ua-parser-js | npm | = 0.7.29 | 0.7.30 |
ua-parser-js | npm | = 0.8.0 | 0.8.1 |
ua-parser-js | npm | = 1.0.0 | 1.0.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from malicious code embedded in specific compromised versions (0.7.29, 0.8.0, 1.0.0) of the package, but no specific vulnerable functions are explicitly identified in the provided data. The CWEs (829 and 912) indicate inclusion of untrusted/hidden functionality, but the advisory and linked resources do not disclose technical details about the malicious functions/paths. Without access to the actual malicious code changes (via commit diffs or patch details), we cannot confidently identify specific vulnerable functions. The compromise appears to involve unauthorized code injection at the package level rather than exploitation of pre-existing functions.