CVE-2021-30858: Apple iOS, iPadOS, macOS Use-After-Free Vulnerability

Published Aug 24, 2021
·
Updated

A use after free issue was addressed with improved memory management. This issue is fixed in iOS 14.8 and iPadOS 14.8, macOS Big Sur 11.6. Processing maliciously crafted web content may lead to arbitrary code execution. Apple is aware of a report that this issue may have been actively exploited.

Other sources

Apple iOS, iPadOS, and macOS WebKit contain a use-after-free vulnerability that leads to code execution when processing maliciously crafted web content. This vulnerability could impact HTML parsers that use WebKit, including but not limited to Apple Safari and non-Apple products which rely on WebKit for HTML processing.

CISA

WebKit. A use after free issue was addressed with improved memory management.

Credit

an anonymous researcher

Affected Software

16 affected componentsFixes available
debian/webkit2gtk
2.36.4-1~deb10u12.38.6-0+deb10u12.40.5-1~deb11u12.42.1-1~deb11u22.40.5-1~deb12u12.42.1-1~deb12u12.42.1-2
debian/wpewebkit
2.38.6-1~deb11u12.38.6-12.42.1-1
Apple iOS, iPadOS, and macOS
Apple macOS Big Sur<11.6
11.6
Apple Safari<14.1.2
14.1.2
Apple iOS<12.5.5
12.5.5
Apple iOS<14.8
14.8
Apple iPadOS<14.8
14.8
Apple iPadOS>=13.1<14.8
Apple iPhone OS<12.5.5
Apple iPhone OS>=13.0<14.8
Apple macOS<11.6
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Debian Debian Linux=10.0
Debian Debian Linux=11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/webkit2gtk to a version that resolves this vulnerability.

    Fixed in 2.36.4-1~deb10u1Fixed in 2.38.6-0+deb10u1Fixed in 2.40.5-1~deb11u1Fixed in 2.42.1-1~deb11u2Fixed in 2.40.5-1~deb12u1Fixed in 2.42.1-1~deb12u1Fixed in 2.42.1-2
  2. Upgrade

    Upgrade debian/wpewebkit to a version that resolves this vulnerability.

    Fixed in 2.38.6-1~deb11u1Fixed in 2.38.6-1Fixed in 2.42.1-1
  3. Upgrade

    Upgrade Apple macOS to a version that resolves this vulnerability.

    Fixed in 11.6
  4. Upgrade

    Upgrade Safari to a version that resolves this vulnerability.

    Fixed in 14.1.2
  5. Upgrade

    Upgrade Apple iOS and iPadOS to a version that resolves this vulnerability.

    Fixed in 12.5.5
  6. Upgrade

    Upgrade Apple iOS and iPadOS to a version that resolves this vulnerability.

    Fixed in 14.8
  7. Upgrade

    Upgrade Apple iOS, iPadOS, and macOS to a version that resolves this vulnerability.

    Fixed in 14.8
  8. Upgrade

    Upgrade debian/webkit2gtk to a version that resolves this vulnerability.

    Fixed in 2.36.4-1~deb10u1
  9. Upgrade

    Upgrade debian/webkit2gtk to a version that resolves this vulnerability.

    Fixed in 2.38.6-0+deb10u1
  10. Upgrade

    Upgrade debian/webkit2gtk to a version that resolves this vulnerability.

    Fixed in 2.40.5-1~deb11u1
  11. Upgrade

    Upgrade debian/webkit2gtk to a version that resolves this vulnerability.

    Fixed in 2.42.1-1~deb11u2
  12. Upgrade

    Upgrade debian/webkit2gtk to a version that resolves this vulnerability.

    Fixed in 2.40.5-1~deb12u1
  13. Upgrade

    Upgrade debian/webkit2gtk to a version that resolves this vulnerability.

    Fixed in 2.42.1-1~deb12u1
  14. Upgrade

    Upgrade debian/webkit2gtk to a version that resolves this vulnerability.

    Fixed in 2.42.1-2
  15. Upgrade

    Upgrade debian/wpewebkit to a version that resolves this vulnerability.

    Fixed in 2.38.6-1~deb11u1
  16. Upgrade

    Upgrade debian/wpewebkit to a version that resolves this vulnerability.

    Fixed in 2.38.6-1
  17. Upgrade

    Upgrade debian/wpewebkit to a version that resolves this vulnerability.

    Fixed in 2.42.1-1

Event History

Aug 24, 2021
CVE Published
via MITRE·06:49 PM
Data Sourced
via MITRE·06:49 PM
DescriptionWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeaknessAffected Software
Nov 3, 2021
Known Exploited
via CISA·12:00 AM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this Apple iOS, iPadOS, and macOS vulnerability?

The vulnerability ID is CVE-2021-30858.

2

What is the severity of CVE-2021-30858?

The severity of CVE-2021-30858 is not specified.

3

Which software products are affected by CVE-2021-30858?

Apple iOS, Safari, macOS Big Sur, iOS, iPadOS, and macOS are affected by CVE-2021-30858.

4

How can an attacker exploit CVE-2021-30858?

An attacker can exploit CVE-2021-30858 by tricking a user into visiting a malicious website or opening a specially crafted file.

5

Is there a fix available for CVE-2021-30858?

Yes, Apple has released updates to address the vulnerability. Please refer to the official support links for more information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203