psd-tools is vulnerable to Path Traversal
55
Medium Risk
psd-tools resolves an external smart object by opening the fullPath value stored in the PSD file, and applies confinement only when the caller passes external_dir. Accessing SmartObject.data, or calling open() or save() without that argument, follows an absolute path taken from an untrusted document. A crafted PSD makes the library read any file the process can access and return its bytes to the caller. The fix confines external reads to external_dir or the current working directory by default and adds a trust_full_path opt-in for trusted files.
You are affected if you are using a version that falls within the vulnerable range and your application reads external smart objects from untrusted PSD files.
psd-tools is vulnerable to Path Traversal in versions 1.17.1 - 1.17.4.
Upgrade the psd-tools library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant