GHSA-32r3-57hp-cgfw

Suggest an improvement
Source
https://github.com/advisories/GHSA-32r3-57hp-cgfw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-32r3-57hp-cgfw/GHSA-32r3-57hp-cgfw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-32r3-57hp-cgfw
Aliases
  • CVE-2023-46943
Published
2024-01-13T03:30:17Z
Modified
2024-11-18T16:26:35Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • 9.1 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
EverShop at risk to unauthorized access via weak HMAC secret
Details

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.

Database specific
{
    "nvd_published_at": "2024-01-13T02:15:07Z",
    "cwe_ids": [
        "CWE-284",
        "CWE-798"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2024-01-16T16:36:47Z"
}
References

Affected packages

npm / @evershop/evershop

Package

Name
@evershop/evershop
View open source insights on deps.dev
Purl
pkg:npm/%40evershop/evershop

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.0-rc.9