CVE-2018-4106 Command injection in n/a

High 8.8 Published Updated

User-assisted attackers can inject arbitrary commands via pasted content in macOS Terminal due to Bracketed Paste Mode flaws.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2018-4106?

CVE-2018-4106 is a high-severity command injection vulnerability in Apple Mac Os X, published on 3 Apr 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An issue was discovered in certain Apple products. macOS before 10.13.4 is affected. The issue involves the Bracketed Paste Mode of the "Terminal" component. It allows user-assisted attackers to inject arbitrary commands within pasted content.

Weakness: CWE-74

Which versions are affected by CVE-2018-4106?

It affects 1 product.

Products include Apple Mac Os X.

How do I fix CVE-2018-4106?

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

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

All Apple Mac Os X vulnerabilities

Sources

Also known as GHSA-m644-vxxq-xxh6.

Is CVE-2018-4106 in your software?

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

Check your SBOMs for free