Quick answers
- Is CVE-2023-46497 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2023-46497 being exploited in the wild.
- How severe is CVE-2023-46497?
- Low severity, with a CVSS score of 3.1, published 8 December 2023.
- Which products and versions are affected?
- EverShop before 1.0.0-rc.8; @evershop/evershop (npm) SEMVER:introduced=0,fixed=1.0.0-rc.8.
- Is there a fix for CVE-2023-46497?
- Yes. @evershop/evershop (npm): upgrade to 1.0.0-rc.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2023-46497 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2023-46497?
- Check whether you run EverShop or @evershop/evershop (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- @evershop/evershop (npm): upgrade to 1.0.0-rc.8 or later
npm install @evershop/evershop@1.0.0-rc.8
Technical details
The vulnerability exists in the createFolder.js endpoint's use of the mkdirSync function, which fails to properly validate user-supplied path input. An authenticated attacker (authentication is required) can craft a malicious request containing path traversal sequences (e.g., "../") to create directories outside the intended application directory and access sensitive files. The vulnerability allows disclosure of confidential information and potentially limited file system modification. This issue affects all EverShop versions before 1.0.0-rc.8, where the path validation was fixed.
Affected products
- EverShop EverShop before 1.0.0-rc.8
Identifiers
- CVE-2023-46497
- GHSA-7443-5962-wp4r
Timeline
- 2023-12-08: disclosed: Vulnerability published
- 2023-09-27: patched: Fix merged in PR #338 to main branch