CVE-2023-38695 MEDIUM

CVE-2023-38695: cypress-image-snapshot vulnerable to insecure snapshot file names

Vendor Simonsmith
Product cypress-image-snapshot
Weakness CWE-22 · Path traversal
Published August 4, 2023
Last update October 4, 2024

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 4, 2023 CVE published
October 4, 2024 Record updated