CVE-2021-30954
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA type confusion issue was addressed with improved memory handling. This issue is fixed in tvOS 15.2, macOS Monterey 12.1, Safari 15.2, iOS 15.2 and iPadOS 15.2, watchOS 8.3. Processing maliciously crafted web content may lead to arbitrary code execution.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA type confusion vulnerability in WebKit allows processing of maliciously crafted web content to lead to arbitrary code execution. The issue stems from improper memory handling when processing objects of unexpected types, which can be exploited to corrupt memory and achieve code execution in the context of the renderer process.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 15.2= 34= 35= 10.0= 11.0< 15.2< 15.2>= 12.0, < 12.1< 15.2< 8.3CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the WebKit-based product in useDetermine if the system runs Safari on macOS/iOS/iPadOS, or a WebKit-based browser on Linux (such as browsers using webkit2gtk)Affected if The product is Safari or any browser using the vulnerable WebKit rendering engine
-
Check Safari version on macOSOpen Safari, go to Safari > About Safari to view the version numberAffected if The version is earlier than 15.2 (for macOS Big Sur and earlier) or earlier than 16.0 on newer systems
-
Check iOS or iPadOS versionGo to Settings > General > About on the iPhone or iPad to view the iOS versionAffected if The version is earlier than 15.2
-
Check macOS versionGo to Apple menu > About This Mac to view the macOS version numberAffected if The version is 12.0 (Monterey) through 12.0.1 through 12.0.x (any version before 12.1)
-
Check WebKit package version on LinuxUse the system package manager to query the webkit2gtk package version (e.g., dnf info webkit2gtk or apt show libwebkit2gtk-4.0-37)Affected if The installed WebKit package version corresponds to a build that predates the security fix (vendor advisories for Fedora 34, 35 and Debian 10, 11 reference this CVE)
-
Confirm WebKit is actively usedVerify that the identified browser or application has JavaScript enabled and processes web contentAffected if JavaScript and web content processing are enabled in the browser settings
The environment is affected if the identified Apple product version is below the fixed release (iOS/iPadOS/tvOS/watchOS < 15.2, macOS 12.0-12.0.x, Safari < 15.2) or if the Linux WebKit package version matches the unpatched versions in Fedora 34/35 or Debian 10/11.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped8.312.115.2
Apply the vendor-supplied security updates: iOS 15.2 and later, iPadOS 15.2 and later, macOS Monterey 12.1 and later, Safari 15.2 and later, tvOS 15.2 and later, and watchOS 8.3 and later.
iOS 15.2, iPadOS 15.2, macOS Monterey 12.1, watchOS 8.3, tvOS 15.2, Safari 15.2
- For iPhone/iPad: Go to Settings > General > Software Update and install iOS/iPadOS 15.2 or later
- For macOS Monterey: Go to System Preferences > Software Update and install macOS Monterey 12.1 or later
- For Apple Watch: Go to Settings > General > Software Update on the watch and install watchOS 8.3 or later
- For Apple TV: Go to Settings > System > Software Updates and install tvOS 15.2 or later
- For Safari: Update to Safari 15.2 via macOS update (macOS Monterey 12.1 includes Safari 15.2)
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,560.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2021-30954 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2021-30954 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data