{"id":"GHSA-xw22-wv29-3299","summary":"ApiKey secret could be revelated on network issue","details":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\nApplications that are using node-etsy-client and reporting client error to the end user will offer api key value too\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\ncreharmony/node-etsy-client#18 fixes this issue. This is fixed in [node-etsy-client v0.3.0](https://github.com/creharmony/node-etsy-client/tree/v0.3.0) and later.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nDo not report or log etsy client error if you are using version \u003c= v0.2.0\n\nUpdate your version of node-etsy-client\n\n### References\n_Are there any links users can visit to find out more?_\n\n- https://github.com/creharmony/node-etsy-client/issues/17 : On connect error secret appears in error #17\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [github.com/creharmony/node-etsy-client/issues](https://github.com/creharmony/node-etsy-client/issues/)","aliases":["CVE-2021-21421"],"modified":"2026-07-08T06:28:06.036937163Z","published":"2021-04-06T17:29:52Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-04-02T17:05:21Z","nvd_published_at":"2021-04-01T22:15:00Z","cwe_ids":["CWE-200","CWE-209"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/creharmony/node-etsy-client/security/advisories/GHSA-xw22-wv29-3299"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21421"},{"type":"WEB","url":"https://github.com/creharmony/node-etsy-client/commit/b4beb8ef080366c1a87dbf9e163051a446acaa7d"}],"affected":[{"package":{"name":"node-etsy-client","ecosystem":"npm","purl":"pkg:npm/node-etsy-client"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.2.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-xw22-wv29-3299/GHSA-xw22-wv29-3299.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"}]}