CVE-2024-47049Czim File-handling
High 8.2 No auth needed
Follow: this CVE · Czim · Czim File-handling We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.2
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 58
- Auth required
- No
- Published
- Sep 17, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for File-handling.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | czim/file-handling |
< 1.5.0 |
1.5.0 |
composer require "czim/file-handling:^1.5.0" |
| Packagist | czim/file-handling |
≥ 2.0.0 < 2.3.0 |
2.3.0 |
composer require "czim/file-handling:^2.3.0" |
Per OSV / GitHub Advisories (GHSA-6rgh-r6j3-3223). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| czim | file-handling | < 1.5.0 |
| czim | file-handling | ≥ 2.0.0 < 2.3.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory