Advisory

GHSA-6rgh-r6j3-3223

Also known as: CVE-2024-47049

Summary

czim/file-handling vulnerable to SSRF and directory traversal

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-09-17 15:31 UTC
Modified
2025-03-19 15:44 UTC

Affected packages and fixes

czim/file-handling

Packagist · All systems

Affected

  • introduced 0, fixed 1.5.0 (ecosystem)

Fixed versions

1.5.0

Fix

The export has no generic command for this ecosystem.

czim/file-handling

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.3.0 (ecosystem)

Fixed versions

2.3.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences