CVE-2022-24836: Apple macOS

High severity, CVSS 7.5. EPSS: 2.8% probability of exploitation activity in the next 30 days.

Nokogiri is an open source XML and HTML library for Ruby. Nokogiri `< v1.13.4` contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to detect encoding in HTML documents. Users are advised to upgrade to Nokogiri `>= 1.13.4`. There are no known workarounds for this issue.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Apple macOS, from 13.0, before 13.1: fixed in 13.1
  • Nokogiri, before 1.13.4: fixed in 1.13.4

Affected products

Affected packages

Published 2022-04-11. Last modified 2026-06-17.