CVE-2023-46943
EverShop at risk to unauthorized access via weak HMAC secret
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
An issue was discovered in NPM's package @evershop/evershop before version 1.0.0-rc.8. 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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | @evershop/evershop | 1.0.0-rc.9 |
References
- https://advisory.checkmarx.net/advisory/CVE-2023-46943
- https://advisory.checkmarx.net/advisory/CVE-2023-46943/
- https://devhub.checkmarx.com/cve-details/CVE-2023-46943
- https://devhub.checkmarx.com/cve-details/CVE-2023-46943/
- https://github.com/evershopcommerce/evershop
- https://github.com/evershopcommerce/evershop/commit/96d9ca3e024e0b63c538911e4a914df3d287cc9f
- https://nvd.nist.gov/vuln/detail/CVE-2023-46943