CVE-2022-22589: Input Validation

Published Jan 26, 2022
·
Updated

A flaw was found in WebKitGTK. A validation issue was addressed with improved input sanitization.

Reference: https://webkitgtk.org/security/WSA-2022-0002.html

Other sources

A validation issue was addressed with improved input sanitization. This issue is fixed in iOS 15.3 and iPadOS 15.3, watchOS 8.4, tvOS 15.3, Safari 15.3, macOS Monterey 12.2. Processing a maliciously crafted mail message may lead to running arbitrary javascript.

— MITRE

apache. Multiple issues were addressed by updating apache to version 2.4.53.

— Apple

AppKit. A logic issue was addressed with improved validation.

— Apple

AppleAVD. An out-of-bounds write issue was addressed with improved bounds checking.

— Apple

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

— Apple

Credit

Heige(KnownSec 404 Team), Bo Qu(Palo Alto Networks), Arsenii Kostromin (0x3c3e)(Microsoft), Jonathan Bar Or(Microsoft), Zhipeng Huo@@R3dF09(Tencent Security Xuanwu Lab), Yuebin Sun@@yuebinsun2020(Tencent Security Xuanwu Lab), Max Shavrick@@_mxms(the Google Security Team), Zubair Ashraf(Crowdstrike), CVE-2022-0778, CVE-2022-23308, Mickey Jin@@patch1t, @@gorelics, an anonymous researcher, Linus Henze(Pinauten GmbH), Peter Nguyễn Vũ Hoàng(STAR Labs), Felix Poulin-Belanger, Antonio Cheong Yu Xuan(YCISCQ), Arsenii Kostromin (0x3c3e), CVE-2021-4136, CVE-2021-4166, CVE-2021-4173, CVE-2021-4187, CVE-2021-4192, CVE-2021-4193, CVE-2021-46059, CVE-2022-0128, Scarlet Raine, Wang Yu(Cyberserval), CVE-2022-0530, Tavis Ormandy, CVE-2021-45444, Liu Long(Ant Security Light), Jack Dates(RET2 Systems Inc), Antonio Zekic@@antoniozekic, Jeonghoon Shin(Theori working with Trend Micro Zero Day Initiative), Peter Nguyễn Vũ Hoàng@@peternguyen14(STAR Labs), Ned Williamson(Google Project Zero), @@gorelics(BreakPoint), (BreakPoint), Ron Masas(BreakPoint), Wojciech Reguła@@_r3ggi(SecuRing), Yonghwi Jin@@jinmo123(Theori), Lockheed Martin Red Team, Jeremy Brown(Trend Micro Zero Day Initiative), Michael DePlante@@izobashi(Trend Micro Zero Day Initiative), Qi Sun(Trend Micro), Ye Zhang@@co0py_Cat(Baidu Security), Robert Ai(Trend Micro), CVE-2021-44224, CVE-2021-44790, CVE-2022-22719, CVE-2022-22720, CVE-2022-22721

Affected Software

58 affected componentsFixes available
Apple macOS Big Sur<11.6.6
11.6.6
Apple tvOS<15.3
15.3
Apple Catalina
Apple WatchOS<8.4
8.4
Apple macOS Monterey<12.2
12.2
Apple Safari<15.3
15.3
Apple iOS<15.3
15.3
Apple iPadOS<15.3
15.3
Apple Safari<15.3
Apple iPadOS<15.3
Apple iPhone OS<15.3
Apple iOS and macOS>=10.15<10.15.7
Apple iOS and macOS=10.15.7
Apple iOS and macOS=10.15.7-security_update_2020
Apple iOS and macOS=10.15.7-security_update_2020-001
Apple iOS and macOS=10.15.7-security_update_2020-005
Apple iOS and macOS=10.15.7-security_update_2020-007
Apple iOS and macOS=10.15.7-security_update_2021-001
Apple iOS and macOS=10.15.7-security_update_2021-002
Apple iOS and macOS=10.15.7-security_update_2021-003
Apple iOS and macOS=10.15.7-security_update_2021-006
Apple iOS and macOS=10.15.7-security_update_2021-007
Apple iOS and macOS=10.15.7-security_update_2021-008
Apple iOS and macOS=10.15.7-security_update_2022-001
Apple iOS and macOS=10.15.7-security_update_2022-002
Apple iOS and macOS=10.15.7-supplemental_update
Apple macOS>=11.0<11.6.6
Apple macOS>=12.0.0<12.2
Apple tvOS<15.3
Apple WatchOS<8.4
alpine/webkit2gtk<2.34.6-r0
2.34.6-r0
alpine/webkit2gtk<2.34.6-r0
2.34.6-r0
alpine/webkit2gtk<2.34.6-r0
2.34.6-r0
alpine/webkit2gtk<2.34.6-r0
2.34.6-r0
alpine/webkit2gtk<2.34.6-r0
2.34.6-r0
debian/webkit2gtk<2.34.5-1
2.34.5-1
debian/webkit2gtk<2.34.5-1
2.34.5-1
debian/webkit2gtk<2.34.5-1
2.34.5-1
debian/wpewebkit<2.34.5-1
2.34.5-1
debian/wpewebkit<2.34.5-1
2.34.5-1
debian/wpewebkit<2.34.5-1
2.34.5-1
debian/webkit2gtk
2.34.6-1~deb10u12.34.6-1~deb11u12.34.5-1
debian/wpewebkit
2.34.6-1~deb11u12.34.5-1
ubuntu/qtwebkit-opensource-src*
ubuntu/webkit2gtk*
ubuntu/qtwebkit-source*
ubuntu/webkitgtk*
ubuntu/webkit2gtk*
ubuntu/qtwebkit-opensource-src*
ubuntu/qtwebkit-source*
ubuntu/webkitgtk*
ubuntu/webkit2gtk<2.34.6-0ubuntu0.20.04.1
2.34.6-0ubuntu0.20.04.1
ubuntu/qtwebkit-opensource-src*
ubuntu/wpewebkit*
ubuntu/qtwebkit-opensource-src*
ubuntu/webkit2gtk<2.35.3-1ubuntu1
2.35.3-1ubuntu1
ubuntu/wpewebkit*
ubuntu/qtwebkit-opensource-src*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apple macOS to a version that resolves this vulnerability.

    Fixed in 11.6.6
  2. Upgrade

    Upgrade tvOS to a version that resolves this vulnerability.

    Fixed in 15.3
  3. Upgrade

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

    Fixed in 8.4
  4. Upgrade

    Upgrade macOS to a version that resolves this vulnerability.

    Fixed in 12.2
  5. Upgrade

    Upgrade Safari to a version that resolves this vulnerability.

    Fixed in 15.3
  6. Upgrade

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

    Fixed in 15.3
  7. Upgrade

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

    Fixed in 15.3
  8. Upgrade

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

    Fixed in 2.34.6-r0
  9. Upgrade

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

    Fixed in 2.34.5-1
  10. Upgrade

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

    Fixed in 2.34.5-1
  11. Upgrade

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

    Fixed in 2.34.6-1~deb10u1Fixed in 2.34.6-1~deb11u1Fixed in 2.34.5-1
  12. Upgrade

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

    Fixed in 2.34.6-1~deb11u1Fixed in 2.34.5-1
  13. Upgrade

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

    Fixed in 2.34.6-0ubuntu0.20.04.1
  14. Upgrade

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

    Fixed in 2.35.3-1ubuntu1
  15. Upgrade

    Upgrade apache to a version that resolves this vulnerability.

    Fixed in 2.4.53
  16. Upgrade

    Upgrade iOS to a version that resolves this vulnerability.

    Fixed in 15.3
  17. Upgrade

    Upgrade iPadOS to a version that resolves this vulnerability.

    Fixed in 15.3
  18. Upgrade

    Upgrade watchOS to a version that resolves this vulnerability.

    Fixed in 8.4
  19. Upgrade

    Upgrade macOS Monterey to a version that resolves this vulnerability.

    Fixed in 12.2

Event History

Jan 26, 2022
Data Sourced
12:00 AM
DescriptionWeaknessAffected Software
Feb 10, 2022
Data Sourced
via Red Hat·04:22 PM
DescriptionSeverityAffected Software
Feb 11, 2022
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Mar 18, 2022
CVE Published
via MITRE·05:59 PM
Data Sourced
via MITRE·05:59 PM
DescriptionWeakness
Data Sourced
06:15 PM
Severity
Data Sourced
via NVD·06:15 PM
DescriptionSeverityAffected Software
Dec 11, 2023
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Updated
12:00 AM
Affected Software
Aug 19, 2024
Updated
via Apple·12:00 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2022-22589?

CVE-2022-22589 is a vulnerability in WebKit that allows for arbitrary JavaScript execution when processing a maliciously crafted mail message.

2

Which software versions are affected by CVE-2022-22589?

CVE-2022-22589 affects iOS 15.3 and iPadOS 15.3, watchOS 8.4, tvOS 15.3, Safari 15.3, and macOS Monterey 12.2.

3

What is the severity of CVE-2022-22589?

CVE-2022-22589 has a severity rating of 6.1, which is considered medium.

4

How can I fix CVE-2022-22589?

To fix CVE-2022-22589, you need to update to the fixed versions of the affected software. For example, update to iOS 15.3 and iPadOS 15.3, watchOS 8.4, tvOS 15.3, Safari 15.3, or macOS Monterey 12.2.

5

Where can I find more information about CVE-2022-22589?

You can find more information about CVE-2022-22589 on the Apple Support website. Here are some references to get you started: [Link 1](https://support.apple.com/en-us/HT213054), [Link 2](https://support.apple.com/en-us/HT213255), [Link 3](https://support.apple.com/en-us/HT213053).

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