Vulnerability · Published Sep 17, 2024 · Assigned by mitre

CVE-2024-47049

High 8.2

In plain English

A high-severity path traversal in the czim/file-handling package (Packagist). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.2High
Exploit odds (30 days)0.6%top 49.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistczim/file-handling1.5.0GHSA-6rgh-r6j3-3223
Packagistczim/file-handling2.3.0GHSA-6rgh-r6j3-3223

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-22, CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

References