GHSA-4whq-r978-2x68 Arbitrary code execution in ExifTool
Attackers can execute arbitrary code by tricking users into processing malicious image files with ExifTool.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is GHSA-4whq-r978-2x68?
GHSA-4whq-r978-2x68 is a code injection vulnerability in exiftool-vendored, published on 4 May 2021.
Official description
Impact
Arbitrary code execution can occur when running exiftool against files with hostile metadata payloads.
Patches
ExifTool has already been patched in version 12.24. exiftool-vendored, which vendors ExifTool, includes this patch in v14.3.0.
Workarounds
No.
References
https://twitter.com/wcbowling/status/1385803927321415687 https://nvd.nist.gov/vuln/detail/CVE-2021-22204
For more information
If you have any questions or comments about this advisory:
- Open an issue in exiftool-vendored
Which versions are affected by GHSA-4whq-r978-2x68?
2 open source packages ship an affected version, including exiftool-vendored.
| Package | Affected | Fixed in |
|---|---|---|
exiftool-vendored npm | All versions | 14.3.0 |
exiftool-vendored npm | All versions | 14.3.0 |
How do I fix GHSA-4whq-r978-2x68?
Upgrade exiftool-vendored to 14.3.0 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is GHSA-4whq-r978-2x68 being exploited?
There is no known exploitation of GHSA-4whq-r978-2x68 in the wild and no public exploit code.