{"id":"GHSA-32r3-57hp-cgfw","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.","aliases":["CVE-2023-46943"],"modified":"2024-11-18T16:26:35Z","published":"2024-01-13T03:30:17Z","database_specific":{"github_reviewed_at":"2024-01-16T16:36:47Z","nvd_published_at":"2024-01-13T02:15:07Z","cwe_ids":["CWE-284","CWE-798"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46943"},{"type":"WEB","url":"https://github.com/evershopcommerce/evershop/commit/96d9ca3e024e0b63c538911e4a914df3d287cc9f"},{"type":"WEB","url":"https://advisory.checkmarx.net/advisory/CVE-2023-46943"},{"type":"WEB","url":"https://devhub.checkmarx.com/cve-details/CVE-2023-46943"},{"type":"PACKAGE","url":"https://github.com/evershopcommerce/evershop"}],"affected":[{"package":{"name":"@evershop/evershop","ecosystem":"npm","purl":"pkg:npm/%40evershop/evershop"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.0-rc.9"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-32r3-57hp-cgfw/GHSA-32r3-57hp-cgfw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"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"}]}