CVE-2022-23935 Command injection in n/a

High 7.8 Published Updated

Attackers can execute arbitrary commands via crafted input due to improper handling of pipe characters in ExifTool.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-23935?

CVE-2022-23935 is a high-severity command injection vulnerability in n/a, published on 25 Jan 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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

Weakness: CWE-78

Which versions are affected by CVE-2022-23935?

It affects 1 product.

Linux distribution packages (1)
exiftool openSUSE:TumbleweedAll versions12.39-1.1

Products include Exiftool Project Exiftool.

How do I fix CVE-2022-23935?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2022-23935 being exploited?

There is no known exploitation of CVE-2022-23935 in the wild and no public exploit code.

Public exploit code: 4 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2022-23935, GHSA-jx53-3cxj-386g, MGASA-2022-0381, UBUNTU-CVE-2022-23935, openSUSE-SU-2024:11794-1.

Is CVE-2022-23935 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free