Prettier eslint-config-prettier Embedded Malicious Code Vulnerability
Prettier eslint-config-prettier contains an embedded malicious code vulnerability. Installing an affected package executes an install.js file that launches the node-gyp.dll malware on Windows.
Embedded Malicious Code CWE-506
The product contains code that appears to be malicious in nature.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 7 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Prettier Eslint-config-prettier | Software | 8.10.1; 9.1.1; 10.1.6; 10.1.7 | not recorded |
| Alexghr Got-fetch | Software | 5.1.1; 5.1.2 | not recorded |
| Prettier Eslint-plugin-prettier | Software | 4.2.2; 4.2.3 | not recorded |
| Homarr Homarr | Software | from 1.29.0, before 1.30.0 | 1.30.0 |
| Un-ts Napi-postinstall | Software | 0.3.1 | not recorded |
| Un-ts Pkgr/core | Software | 0.2.8 | not recorded |
| Un-ts Synckit | Software | 0.11.9 | not recorded |
The 7.5 severity score (high) from mitre.org, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | High | Hard to carry out. It depends on conditions the attacker cannot control. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Changed | The attacker can get beyond the vulnerable program and affect other parts of the system. |
| Data exposed | Low | The attacker can read some data, but not everything. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | None | The service keeps running. |
| Ease of attack | 2.2 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 4.7 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 10 sources for this flaw, none tagged as a vendor patch. 2 explain how the flaw works or include exploit code, so attackers can find instructions easily.