CVE-2023-46943
HIGH7.4EPSS 0.09%EverShop at risk to unauthorized access via weak HMAC secret
Published: 1/13/2024Modified: 11/18/2024
Also known as:GHSA-32r3-57hp-cgfw
Description
An issue was discovered in NPM's package @evershop/evershop before version 1.0.0-rc.9. The HMAC secret used for generating tokens is hardcoded as "secret". A weak HMAC secret poses a risk because attackers can use the predictable secret to create valid JSON Web Tokens (JWTs), allowing them access to important information and actions within the application.
Affected packages (1)
- npm/@evershop/evershopfrom 0, < 1.0.0-rc.9
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-46943
- PATCHhttps://github.com/evershopcommerce/evershop
- WEBhttps://advisory.checkmarx.net/advisory/CVE-2023-46943
- WEBhttps://devhub.checkmarx.com/cve-details/CVE-2023-46943
- WEBhttps://github.com/evershopcommerce/evershop/commit/96d9ca3e024e0b63c538911e4a914df3d287cc9f