HighGHSA-g8v9-c8m3-942vCVE-2024-48514

Remote code execution in php-heic-to-jpg

Published 24 Oct 2024 · Updated 19 Dec 2024

Is your project on an affected maestroerror/php-heic-to-jpg?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<1.0.5
Fixed in
1.0.5
Update to the fixed version for your release line, for example:composer require maestroerror/php-heic-to-jpg:^1.0.5

Details

php-heic-to-jpg < 1.0.5 is vulnerable to remote code execution. An attacker who can upload heic images is able to execute code on the remote server via the file name. As a result, the CIA is no longer guaranteed. This affects php-heic-to-jpg below 1.0.5.

Is GHSA-g8v9-c8m3-942v in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected maestroerror/php-heic-to-jpg, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.