cve/2023/CVE-2023-38695.md

18 lines
914 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-38695](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-38695)
![](https://img.shields.io/static/v1?label=Product&message=cypress-image-snapshot&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%3D%208.0.1%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-22%3A%20Improper%20Limitation%20of%20a%20Pathname%20to%20a%20Restricted%20Directory%20('Path%20Traversal')&color=brighgreen)
### Description
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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds