CVE-2023-46322 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary commands via malicious SSH hostnames in URLs due to insufficient input sanitization in 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-46322?

CVE-2023-46322 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 ssh hostnames in URLs. The hostname's initial character may be non-alphanumeric. The hostname's other characters may be outside the set of alphanumeric characters, dash, and period.

Weakness: CWE-117

Which versions are affected by CVE-2023-46322?

It affects 1 product.

Products include Iterm2 Iterm2.

How do I fix CVE-2023-46322?

No fix has been published for CVE-2023-46322 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-46322 being exploited?

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

Sources

Also known as GHSA-mvw9-7543-rjjg.

Is CVE-2023-46322 in your software?

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

Check your SBOMs for free