CVE-2023-42942 Path traversal in iOS and iPadOS

High 7.8 Published Updated

A malicious app can gain root privileges due to improper symlink handling in Apple operating systems.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-42942?

CVE-2023-42942 is a high-severity path traversal vulnerability in Apple Ipad Os, published on 21 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

This issue was addressed with improved handling of symlinks. This issue is fixed in watchOS 10.1, macOS Sonoma 14.1, tvOS 17.1, iOS 16.7.2 and iPadOS 16.7.2, iOS 17.1 and iPadOS 17.1, macOS Ventura 13.6.1. A malicious app may be able to gain root privileges.

Weakness: CWE-59

Which versions are affected by CVE-2023-42942?

It affects 6 products.

Products include Apple Ipad Os, Apple Ipados, Apple Iphone Os, Apple Macos, Apple Tvos, Apple Watchos.

How do I fix CVE-2023-42942?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-42942 being exploited?

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

All Apple Ipad Os vulnerabilities

Sources

Also known as GHSA-gqvf-8g7j-7gh5.

Is CVE-2023-42942 in your software?

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

Check your SBOMs for free