CVE-2021-21421 ApiKey secret could be revelated on network issue
An attacker can obtain API keys if the application exposes client errors to end users, requiring an upgrade to the library.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-21421?
CVE-2021-21421 is a high-severity vulnerability in creharmony node-etsy-client, published on 1 Apr 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
node-etsy-client is a NodeJs Etsy ReST API Client. Applications that are using node-etsy-client and reporting client error to the end user will offer api key value too This is fixed in node-etsy-client v0.3.0 and later.
Which versions are affected by CVE-2021-21421?
2 open source packages ship an affected version, including node-etsy-client. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
node-etsy-client npm | All versions | 0.3.0 |
node-etsy-client npm | All versions | 0.3.0 |
Products include Node-Etsy-Client Project Node-Etsy-Client.
How do I fix CVE-2021-21421?
Upgrade node-etsy-client to 0.3.0 or later.
Is CVE-2021-21421 being exploited?
There is no known exploitation of CVE-2021-21421 in the wild and no public exploit code.
Sources
Also known as GHSA-xw22-wv29-3299.