WebKitGTK and WPE WebKit Security Advisory WSA-2022-0001

Several vulnerabilities were discovered in WebKitGTK and WPE WebKit.

  • CVE-2021-30934

    • Versions affected: WebKitGTK and WPE WebKit before 2.34.4.
    • Credit to Dani Biro.
    • Impact: Processing maliciously crafted web content may lead to arbitrary code execution. Description: A buffer overflow issue was addressed with improved memory handling.
  • CVE-2021-30936

    • Versions affected: WebKitGTK and WPE WebKit before 2.34.4.
    • Credit to Chijin Zhou of ShuiMuYuLin Ltd and Tsinghua wingtecher lab.
    • Impact: Processing maliciously crafted web content may lead to arbitrary code execution. Description: A use after free issue was addressed with improved memory management.
  • CVE-2021-30951

    • Versions affected: WebKitGTK and WPE WebKit before 2.34.4.
    • Credit to Pangu.
    • Impact: Processing maliciously crafted web content may lead to arbitrary code execution. Description: A use after free issue was addressed with improved memory management.
  • CVE-2021-30952

    • Versions affected: WebKitGTK and WPE WebKit before 2.34.4.
    • Credit to WeBin.
    • Impact: Processing maliciously crafted web content may lead to arbitrary code execution. Description: An integer overflow was addressed with improved input validation.
  • CVE-2021-30953

    • Versions affected: WebKitGTK and WPE WebKit before 2.34.4.
    • Credit to VRIJ.
    • Impact: Processing maliciously crafted web content may lead to arbitrary code execution. Description: An out-of-bounds read was addressed with improved bounds checking.
  • CVE-2021-30954

    • Versions affected: WebKitGTK and WPE WebKit before 2.34.4.
    • Credit to Kunlun Lab.
    • Impact: Processing maliciously crafted web content may lead to arbitrary code execution. Description: A type confusion issue was addressed with improved memory handling.
  • CVE-2021-30984

    • Versions affected: WebKitGTK and WPE WebKit before 2.34.4.
    • Credit to Kunlun Lab.
    • Impact: Processing maliciously crafted web content may lead to arbitrary code execution. Description: A race condition was addressed with improved state handling.
  • CVE-2022-22594

    • Versions affected: WebKitGTK and WPE WebKit before 2.34.4.
    • Credit to Martin Bajanik of fingerprintjs.com.
    • Impact: A website may be able to track sensitive user information. Description: A cross-origin issue in the IndexDB API was addressed with improved input validation. Notes: There is a public PoC demonstrating this issue at safarileaks.com so it may have been actively exploited.
  • CVE-2021-45481

    • Versions affected: WebKitGTK and WPE WebKit before 2.34.0.
    • Credit to Chijin Zhou of ShuiMuYuLin Ltd and Tsinghua wingtecher lab.
    • Processing maliciously crafted web content may cause an application crash due to an incorrect memory allocation in WebCore::ImageBufferCairoImageSurfaceBackend::create.
  • CVE-2021-45482

    • Versions affected: WebKitGTK and WPE WebKit before 2.32.4.
    • Credit to Chijin Zhou of ShuiMuYuLin Ltd and Tsinghua wingtecher lab.
    • Processing maliciously crafted web content may cause a memory corruption issue (use-after-free) in WebCore::ContainerNode::firstChild.
  • CVE-2021-45483

    • Versions affected: WebKitGTK and WPE WebKit before 2.34.0.
    • Credit to Chijin Zhou of ShuiMuYuLin Ltd and Tsinghua wingtecher lab.
    • Processing maliciously crafted web content may cause a memory corruption issue (heap-use-after-free) in WebCore::Frame::page.

We recommend updating to the latest stable versions of WebKitGTK and WPE WebKit. It is the best way to ensure that you are running safe versions of WebKit. Please check our websites for information about the latest stable releases.

Further information about WebKitGTK and WPE WebKit security advisories can be found at: https://webkitgtk.org/security.html or https://wpewebkit.org/security/.

If you’re using WPE WebKit, or are considering doing so, please take our brief user survey. Your input will help us make WPE WebKit better for you!

If you’re using WPE WebKit, or are considering doing so, please take our brief user survey! Your input will help us make WPE WebKit better for you.