CVE-2023-29542 Security feature bypass in Firefox

Critical 9.8 Published Updated

Attackers can bypass file extension security checks using newlines in filenames, potentially leading to accidental execution of malicious code on Windows.

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

What is CVE-2023-29542?

CVE-2023-29542 is a critical vulnerability in Mozilla Firefox, published on 19 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A newline in a filename could have been used to bypass the file extension security mechanisms that replace malicious file extensions such as .lnk with .download. This could have led to accidental execution of malicious code.

*This bug only affects Firefox and Thunderbird on Windows. Other versions of Firefox and Thunderbird are unaffected.* This vulnerability affects Firefox < 112, Firefox ESR < 102.10, and Thunderbird < 102.10.

Which versions are affected by CVE-2023-29542?

It affects 3 products.

Products include Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird.

How do I fix CVE-2023-29542?

Upgrade to a fixed version.

Is CVE-2023-29542 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-pc79-pjx7-pq9h, UBUNTU-CVE-2023-29542.

Is CVE-2023-29542 in your software?

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

Check your SBOMs for free