Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS02cmdoLXI2ajMtMzIyM84AA_mg
czim/file-handling vulnerable to SSRF and directory traversal
The czim/file-handling package before 1.5.0 and 2.x before 2.3.0 (used with PHP Composer) does not properly validate URLs within makeFromUrl and makeFromAny, leading to SSRF, and to directory traversal for the reading of local files.
Permalink: https://github.com/advisories/GHSA-6rgh-r6j3-3223JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS02cmdoLXI2ajMtMzIyM84AA_mg
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 2 months ago
Updated: about 2 months ago
CVSS Score: 8.2
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Identifiers: GHSA-6rgh-r6j3-3223, CVE-2024-47049
References:
- https://nvd.nist.gov/vuln/detail/CVE-2024-47049
- https://github.com/czim/file-handling/blob/2.3.0/SECURITY.md
- https://github.com/czim/file-handling/commit/95dfda850536bf35e684619598b9d02f4c97680d
- https://github.com/czim/file-handling/commit/dcf879896efe3457f51af9c8eab9f70dfc709a99
- https://github.com/advisories/GHSA-6rgh-r6j3-3223
Blast Radius: 10.3
Affected Packages
packagist:czim/file-handling
Dependent packages: 2Dependent repositories: 18
Downloads: 517,821 total
Affected Version Ranges: >= 2.0.0, < 2.3.0, < 1.5.0
Fixed in: 2.3.0, 1.5.0
All affected versions: 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 0.9.9, 0.9.10, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.2.1
All unaffected versions: 1.5.0, 2.3.0