GHSA-h5vj-f7r9-w564: Entropy Backdoor in text-qrcode
9.8
CVSS Score
3.1
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
9/1/2020
Updated
1/9/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
text-qrcode | npm | >= 0.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The core vulnerability explicitly involves malicious modification of the crypto.randomBytes
function. While the exact file path in the package isn't specified in the advisory, the technical description confirms the attack vector is the substitution of this critical cryptographic function. The confidence is high because the advisory directly identifies the method being overwritten (randomBytes
) and the cryptographic module (crypto
) as the target of the backdoor.