Path Traversal in Simonsmith Cypress-Image-Snapshot
CVE-2023-38695
cypress-image-snapshot shows visual regressions in Cypress with jest-image-snapshot. Prior to version 8.0.2, it's possible for a user to pass a relative file path for the snapshot name and reach outside of the project directory into the machine running the test. This issue has been patched in version 8.0.2.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.010 (61.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 61st percentile — 61.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.010 · change: 0.000
Affected products
- Simonsmith Cypress-Image-Snapshot — versions <= 8.0.1
- Simonsmith Cypress Image Snapshot
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/simonsmith/cypress-image-snapshot/security/advisories/GHSA-vxjg-hchx… (Exploit, Mitigation, Vendor Advisory)
- github.com/simonsmith/cypress-image-snapshot/issues/15 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4fac6f313… (Patch)
- github.com/simonsmith/cypress-image-snapshot/releases/tag/8.0.2 (Release Notes)
Frequently asked questions
- What is CVE-2023-38695?
- CVE-2023-38695 is a medium-severity vulnerability in Simonsmith Cypress-Image-Snapshot, classified under Path Traversal. CVSS score: 6.5/10. Published 2023-08-04.
- How severe is CVE-2023-38695?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2023-38695 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.