Vulnerability · Published Jan 13, 2024 · Assigned by mitre

CVE-2023-46943

Critical 9.1

In plain English

A critical-severity hard-coded credentials in the @evershop/evershop package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.5%top 57.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
npm@evershop/evershop1.0.0-rc.9GHSA-32r3-57hp-cgfw

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-798 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

References