CVE-2023-46321 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary commands via unsanitized shell metacharacters in x-man-page URLs within iTerm2.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-46321?

CVE-2023-46321 is a critical command injection vulnerability in n/a, published on 22 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

iTermSessionLauncher.m in iTerm2 before 3.5.0beta12 does not sanitize paths in x-man-page URLs. They may have shell metacharacters for a /usr/bin/man command line.

Weakness: CWE-117

Which versions are affected by CVE-2023-46321?

It affects 1 product.

Products include Iterm2 Iterm2.

How do I fix CVE-2023-46321?

No fix has been published for CVE-2023-46321 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2023-46321 being exploited?

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

Sources

Also known as GHSA-h9qg-8cx4-mh74.

Is CVE-2023-46321 in your software?

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

Check your SBOMs for free