CVE-2021-30738 Path traversal in macOS

Medium 5.5 Published Updated

A malicious application can overwrite arbitrary files due to improper path validation for hardlinks in macOS.

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-2021-30738?

CVE-2021-30738 is a medium-severity path traversal vulnerability in Apple Mac Os X, published on 8 Sep 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A malicious application may be able to overwrite arbitrary files. This issue is fixed in macOS Big Sur 11.4, Security Update 2021-004 Mojave. An issue with path validation logic for hardlinks was addressed with improved path sanitization.

Which versions are affected by CVE-2021-30738?

It affects 2 products.

Products include Apple Mac Os X, Apple Macos.

How do I fix CVE-2021-30738?

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

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

All Apple Mac Os X vulnerabilities

Sources

Also known as GHSA-r24w-f52g-qphg.

Is CVE-2021-30738 in your software?

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

Check your SBOMs for free