GHSA-5w9c-rv96-fr7g Removal of functional code in faker.js
Maintainer intentionally removed functional code from faker.js, causing denial of service for applications relying on it for test data generation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is GHSA-5w9c-rv96-fr7g?
GHSA-5w9c-rv96-fr7g is a vulnerability in faker, published on 22 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Faker.js helps users create large amounts of data for testing and development. The maintainer deliberately removed the functional code from this package. This appears to be a purposeful and successful attempt to make the package unusable. This is related to the colors.js CVE-2021-23567.
The functional code for this package was forked and can be found here.
Which versions are affected by GHSA-5w9c-rv96-fr7g?
2 open source packages ship an affected version, including faker.
| Package | Affected | Fixed in |
|---|---|---|
faker npm | All versions | None |
faker npm | All versions | None |
How do I fix GHSA-5w9c-rv96-fr7g?
No fix has been published for GHSA-5w9c-rv96-fr7g yet. Limit exposure of the affected software until one is available.
Is GHSA-5w9c-rv96-fr7g being exploited?
There is no known exploitation of GHSA-5w9c-rv96-fr7g in the wild and no public exploit code.