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)
EPSS: 0.010 (59.7th percentile) — read the EPSS interpretation.
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.
Affected products
- Simonsmith Cypress-image-snapshot — versions <= 8.0.1
- Simonsmith Cypress_image_snapshot
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Mitigation, Vendor Advisory)
- security-advisories@github.com (Exploit, Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC, 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.