Skip to content
OpenAdvisories
Unscored Public exploit CVE-2022-23935 EUVD-2022-28854GHSA-jx53-3cxj-386g

lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /\|$/ check, leading to command injection.

Published Jan 25, 2022 · Updated Aug 3, 2024 · Assigned by mitre

Description

lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /\|$/ check, leading to command injection.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libimage-exiftool-perl 12.38+dfsg-1 —
Debian 13 libimage-exiftool-perl 12.38+dfsg-1 —
Debian 12 libimage-exiftool-perl 12.38+dfsg-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libimage-exiftool-perl No fix yet —
Ubuntu 20.04 LTS libimage-exiftool-perl No fix yet —
Ubuntu 18.04 LTS libimage-exiftool-perl No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS libimage-exiftool-perl No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed exiftool 12.39-1.1 openSUSE-SU-2024:11794-1
ReleasePackageFixed inAdvisory
Alpine v3.24 perl-image-exiftool 12.40-r0 —
Alpine v3.23 perl-image-exiftool 12.40-r0 —
Alpine v3.22 perl-image-exiftool 12.40-r0 —
Alpine v3.21 perl-image-exiftool 12.40-r0 —
Alpine v3.20 perl-image-exiftool 12.40-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 perl-image-exiftool 12.40-r0 —
Alpine v3.18 perl-image-exiftool 12.40-r0 —
Alpine v3.17 perl-image-exiftool 12.40-r0 —
Alpine v3.16 perl-image-exiftool 12.40-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 4 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References