Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @evershop/evershop
  4. ›
  5. CVE-2023-46943

CVE-2023-46943: EverShop at risk to unauthorized access via weak HMAC secret

January 13, 2024 (updated November 18, 2024)

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.

References

  • advisory.checkmarx.net/advisory/CVE-2023-46943
  • devhub.checkmarx.com/cve-details/CVE-2023-46943
  • github.com/advisories/GHSA-32r3-57hp-cgfw
  • github.com/evershopcommerce/evershop
  • github.com/evershopcommerce/evershop/commit/96d9ca3e024e0b63c538911e4a914df3d287cc9f
  • nvd.nist.gov/vuln/detail/CVE-2023-46943

Code Behaviors & Features

Detect and mitigate CVE-2023-46943 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.0-rc.9

Fixed versions

  • 1.0.0-rc.9

Solution

Upgrade to version 1.0.0-rc.9 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control
  • CWE-798: Use of Hard-coded Credentials

Source file

npm/@evershop/evershop/CVE-2023-46943.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:31 +0000.