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?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
maestroerror/php-heic-to-jpgComposer
- 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.5Details
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
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-48514
- Linkgithub.com/MaestroError/php-heic-to-jpg/pull/34
- Linkadvisories.gitlab.com/pkg/composer/maestroerror/php-heic-to-jpg/CVE-2024-48514
- Packagegithub.com/MaestroError/php-heic-to-jpg
- Advisorygithub.com/advisories/GHSA-g8v9-c8m3-942v
- Linkgithub.com/marcoris/CVEs/tree/master/CVE-2024-48514
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.