CVE-2021-30738
macOS vulnerability analysis and mitigation

Overview

CVE-2021-30738 is a security vulnerability discovered in Apple's macOS operating systems that was disclosed and patched in May 2021. The vulnerability affects macOS Big Sur versions up to 11.4 and macOS Mojave. The issue resides in the PackageKit component where an issue with path validation logic for hardlinks could allow a malicious application to overwrite arbitrary files (Apple Advisory, CVE Details).

Technical details

The vulnerability stems from improper path validation logic for hardlinks in the PackageKit component. The issue was addressed by Apple with improved path sanitization. The vulnerability has a CVSS v3.1 Base Score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N, indicating local access is required, low attack complexity, low privileges required, no user interaction needed, and high impact on integrity (NVD).

Impact

If exploited, this vulnerability allows a malicious application to overwrite arbitrary files on the affected system. This could potentially lead to system compromise through modification of critical system files or user data (Apple Advisory).

Mitigation and workarounds

Apple has addressed this vulnerability in macOS Big Sur 11.4 and Security Update 2021-004 Mojave. Users should update to these versions or later to protect against this vulnerability. The fix implements improved path sanitization for hardlink validation (Apple Advisory).

Additional resources


SourceThis report was generated using AI

Related macOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-43359CRITICAL9.8
  • macOSmacOS
  • Kernel
NoYesSep 15, 2025
CVE-2025-43358HIGH8.8
  • macOSmacOS
  • Shortcuts
NoYesSep 15, 2025
CVE-2025-43400MEDIUM6.3
  • macOSmacOS
  • FontParser
NoYesSep 29, 2025
CVE-2025-43355MEDIUM5.5
  • macOSmacOS
  • MobileStorageMounter
NoYesSep 15, 2025
CVE-2025-43353MEDIUM5.5
  • macOSmacOS
  • Libinfo
NoYesSep 15, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management