Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTIyanItdmM3ai1nNzYy
Potential buffer overflow in psd-tools
Impact
An issue was discovered in psd-tools before 1.9.4. The Cython implementation of RLE decoding did not check for malformed PSD input data during decoding to the PIL.Image or NumPy format, leading to a Buffer Overflow.
Patches
Users of psd-tools version v1.8.37 to v1.9.3 should upgrade to v1.9.4.
Workarounds
Without Cython present on installation, buffer overflow does not occur but IndexError will be thrown. However, already installed psd-tools with Cython extention should be upgraded.
References
https://github.com/psd-tools/psd-tools/pull/198
For more information
If you have any questions or comments about this advisory:
- Open an issue in psd-tools
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTIyanItdmM3ai1nNzYy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 4 years ago
Updated: 9 months ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-22jr-vc7j-g762, CVE-2020-10571
References:
- https://github.com/psd-tools/psd-tools/security/advisories/GHSA-22jr-vc7j-g762
- https://nvd.nist.gov/vuln/detail/CVE-2020-10571
- https://github.com/psd-tools/psd-tools/pull/198
- https://github.com/psd-tools/psd-tools/releases/tag/v1.9.4
- https://github.com/psd-tools/psd-tools/commit/fd51f8b4a52bc9c1c06d1035dfdf2cd920e87074
- https://github.com/advisories/GHSA-22jr-vc7j-g762
Blast Radius: 18.7
Affected Packages
pypi:psd-tools
Dependent packages: 9Dependent repositories: 81
Downloads: 41,979 last month
Affected Version Ranges: >= 1.8.37, < 1.9.3
Fixed in: 1.9.4
All affected versions: 1.8.37, 1.8.38, 1.9.0, 1.9.1, 1.9.2
All unaffected versions: 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.7.1, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.9.1, 1.8.8, 1.8.9, 1.8.10, 1.8.11, 1.8.12, 1.8.13, 1.8.14, 1.8.15, 1.8.16, 1.8.17, 1.8.18, 1.8.19, 1.8.20, 1.8.21, 1.8.22, 1.8.23, 1.8.24, 1.8.25, 1.8.26, 1.8.27, 1.8.28, 1.8.29, 1.8.30, 1.8.31, 1.8.32, 1.8.33, 1.8.34, 1.8.35, 1.8.36, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.9.8, 1.9.9, 1.9.10, 1.9.11, 1.9.12, 1.9.13, 1.9.14, 1.9.15, 1.9.16, 1.9.17, 1.9.18, 1.9.19, 1.9.20, 1.9.21, 1.9.22, 1.9.23, 1.9.24, 1.9.26, 1.9.27, 1.9.28, 1.9.29, 1.9.30, 1.9.31, 1.9.32