← Search CVEs

CVE-2022-24836

HIGH 7.5 ALL-YEARS

Published 2022-04-11 · Last modified 2024-09-03 · GitHub_M · NVD: Modified

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.

ELEVATED IMPACT

Severe if exploited (CVSS 7.5); current sources show no confirmed exploitation. Consider exposure and affected versions when prioritizing remediation.

Exploitation likelihood

3.5%chance of exploitation in 30 days · 89th percentile

○ In CISA KEV○ Catalogued PoC

Impact if exploited

7.5CVSS 3.1 · HIGH · CNA

  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityHigh

What an attacker needs

  • ✓Access: Reachable over the network — no local access needed
  • ✓Privileges: No account or privileges required
  • ✓User interaction: No user interaction needed
  • ✓Complexity: No special conditions — reliably repeatable

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept

No public PoC is currently catalogued.

Search for new PoCs

Search GitHub now — results may be empty or unverified.

Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.

Affected

Vendors Sparklemotion Nokogiri Fedoraproject Debian Apple

Products Nokogiri Fedora Debian Linux Macos

Weakness (CWE)

  • CWE-400: : Uncontrolled Resource Consumption
  • CWE-1333: : Inefficient Regular Expression Complexity

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References and research data (JSON) · Change history

Packages and version ranges

Each advisory describes its own package and affected ranges. A boundary applies to that range; it is not a universal upgrade recommendation.

  • nokogiri RubyGems

    pkg:gem/nokogiri

    ECOSYSTEM range
    • All earlier versions (introduced 0)
    • Fixed boundary (excluded): 1.13.4
    143 explicitly listed affected versions

    1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.1.0, 1.1.1, 1.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.6.8.rc3, 1.7.0, 1.7.0.1, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.9.0, 1.9.0.rc1, 1.9.1

    Additional upstream package constraints
    {
      "database": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-crjr-9rc5-ghw8/GHSA-crjr-9rc5-ghw8.json"
      }
    }
    GitHub Advisory Database · GHSA-crjr-9rc5-ghw8 · Updated 2024-02-16T08:26:57.925644Z

Vendor product assessments

Showing 32 of 1877 vendor product statements; 1845 omitted. Read the full vendor advisory.

  • rubygem-nokogiri-0:1.13.8-1.el8sat.src as a component of Red Hat Satellite 6.12 for RHEL 8 · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/rubygem-nokogiri@1.13.8-1.el8sat?arch=src

    • vendor fix: For Red Hat Satellite 6.12, see the following documentation for the release. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12 The important instructions on how to upgrade are available below. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12/html/upgrading_and_updating_red_hat_satellite Vendor guidance
    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-nokogiri-0:1.13.8-1.el8sat.x86_64 as a component of Red Hat Satellite 6.12 for RHEL 8 · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/rubygem-nokogiri@1.13.8-1.el8sat?arch=x86_64

    • vendor fix: For Red Hat Satellite 6.12, see the following documentation for the release. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12 The important instructions on how to upgrade are available below. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12/html/upgrading_and_updating_red_hat_satellite Vendor guidance
    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-nokogiri-debuginfo-0:1.13.8-1.el8sat.x86_64 as a component of Red Hat Satellite 6.12 for RHEL 8 · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/rubygem-nokogiri-debuginfo@1.13.8-1.el8sat?arch=x86_64

    • vendor fix: For Red Hat Satellite 6.12, see the following documentation for the release. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12 The important instructions on how to upgrade are available below. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12/html/upgrading_and_updating_red_hat_satellite Vendor guidance
    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-nokogiri-debugsource-0:1.13.8-1.el8sat.x86_64 as a component of Red Hat Satellite 6.12 for RHEL 8 · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/rubygem-nokogiri-debugsource@1.13.8-1.el8sat?arch=x86_64

    • vendor fix: For Red Hat Satellite 6.12, see the following documentation for the release. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12 The important instructions on how to upgrade are available below. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12/html/upgrading_and_updating_red_hat_satellite Vendor guidance
    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-nokogiri-0:1.13.8-1.el8sat.src as a component of Red Hat Satellite 6.12 for RHEL 8 · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/rubygem-nokogiri@1.13.8-1.el8sat?arch=src

    • vendor fix: For Red Hat Satellite 6.12, see the following documentation for the release. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12 The important instructions on how to upgrade are available below. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12/html/upgrading_and_updating_red_hat_satellite Vendor guidance
    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-nokogiri-0:1.13.8-1.el8sat.x86_64 as a component of Red Hat Satellite 6.12 for RHEL 8 · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/rubygem-nokogiri@1.13.8-1.el8sat?arch=x86_64

    • vendor fix: For Red Hat Satellite 6.12, see the following documentation for the release. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12 The important instructions on how to upgrade are available below. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12/html/upgrading_and_updating_red_hat_satellite Vendor guidance
    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-nokogiri-debuginfo-0:1.13.8-1.el8sat.x86_64 as a component of Red Hat Satellite 6.12 for RHEL 8 · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/rubygem-nokogiri-debuginfo@1.13.8-1.el8sat?arch=x86_64

    • vendor fix: For Red Hat Satellite 6.12, see the following documentation for the release. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12 The important instructions on how to upgrade are available below. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12/html/upgrading_and_updating_red_hat_satellite Vendor guidance
    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-nokogiri-debugsource-0:1.13.8-1.el8sat.x86_64 as a component of Red Hat Satellite 6.12 for RHEL 8 · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/rubygem-nokogiri-debugsource@1.13.8-1.el8sat?arch=x86_64

    • vendor fix: For Red Hat Satellite 6.12, see the following documentation for the release. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12 The important instructions on how to upgrade are available below. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12/html/upgrading_and_updating_red_hat_satellite Vendor guidance
    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-nokogiri as a component of CloudForms Management Engine 5 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/rubygem-nokogiri

    • no fix planned: Will not fix
    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-nokogiri-doc as a component of CloudForms Management Engine 5 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/rubygem-nokogiri-doc

    • no fix planned: Will not fix
    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-nokogiri.src as a component of CloudForms Management Engine 5 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/rubygem-nokogiri?arch=src

    • no fix planned: Will not fix
    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • tfm-ror51-rubygem-nokogiri as a component of Red Hat Satellite 6 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/tfm-ror51-rubygem-nokogiri

    • none available: Fix deferred
    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • tfm-ror51-rubygem-nokogiri.src as a component of Red Hat Satellite 6 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/tfm-ror51-rubygem-nokogiri?arch=src

    • none available: Fix deferred
    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • tfm-ror52-rubygem-nokogiri as a component of Red Hat Satellite 6 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/tfm-ror52-rubygem-nokogiri

    • none available: Fix deferred
    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • tfm-ror52-rubygem-nokogiri.src as a component of Red Hat Satellite 6 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/tfm-ror52-rubygem-nokogiri?arch=src

    • none available: Fix deferred
    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • ansible-collection-redhat-satellite-0:3.7.0-2.el8sat.noarch as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/ansible-collection-redhat-satellite@3.7.0-2.el8sat?arch=noarch

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • python-async-lru-0:1.0.2-3.el8pc.src as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/python-async-lru@1.0.2-3.el8pc?arch=src

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • python-pytz-0:2021.3-2.el8pc.src as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/python-pytz@2021.3-2.el8pc?arch=src

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • python39-gitdb-0:4.0.9-2.el8pc.noarch as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/python39-gitdb@4.0.9-2.el8pc?arch=noarch

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • qpid-proton-cpp-debuginfo-0:0.33.0-4.el8.x86_64 as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/qpid-proton-cpp-debuginfo@0.33.0-4.el8?arch=x86_64

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-rest-client-0:2.0.2-4.el8sat.noarch as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/rubygem-rest-client@2.0.2-4.el8sat?arch=noarch

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-ffi-debuginfo-0:1.12.2-2.1.el8sat.x86_64 as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/rubygem-ffi-debuginfo@1.12.2-2.1.el8sat?arch=x86_64

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • foreman-dynflow-sidekiq-0:3.3.0.17-1.el8sat.noarch as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/foreman-dynflow-sidekiq@3.3.0.17-1.el8sat?arch=noarch

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • python-diff-match-patch-0:20200713-3.el8pc.src as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/python-diff-match-patch@20200713-3.el8pc?arch=src

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • python-xlwt-0:1.3.0-3.el8pc.src as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/python-xlwt@1.3.0-3.el8pc?arch=src

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • python39-productmd-0:1.33-3.el8pc.noarch as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/python39-productmd@1.33-3.el8pc?arch=noarch

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-activerecord-import-0:1.1.0-1.el8sat.src as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/rubygem-activerecord-import@1.1.0-1.el8sat?arch=src

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-fog-kubevirt-0:1.3.3-2.el8sat.noarch as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/rubygem-fog-kubevirt@1.3.3-2.el8sat?arch=noarch

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-hocon-0:1.3.1-2.el8sat.src as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/rubygem-hocon@1.3.1-2.el8sat?arch=src

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-ovirt-engine-sdk-debugsource-0:4.4.0-2.1.el8sat.x86_64 as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/rubygem-ovirt-engine-sdk-debugsource@4.4.0-2.1.el8sat?arch=x86_64

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • rubygem-rubyipmi-0:0.11.0-1.el8sat.noarch as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/rubygem-rubyipmi@0.11.0-1.el8sat?arch=noarch

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00
  • yggdrasil-worker-forwarder-0:0.0.1-1.el8sat.x86_64 as a component of Red Hat Satellite 6.12 for RHEL 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/yggdrasil-worker-forwarder@0.0.1-1.el8sat?arch=x86_64

    Red Hat · CVE-2022-24836 · Updated 2026-02-24T20:41:21+00:00

Known Affected Software Configurations

VendorProductVersion range
NokogiriNokogiri< 1.13.4
FedoraprojectFedora34
FedoraprojectFedora35
FedoraprojectFedora36
DebianDebian Linux9.0
DebianDebian Linux10.0
AppleMacos≥ 13.0 and < 13.1

All CVSS metrics

  • HIGH 7.5 v3.1 · CNA Primary
    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • HIGH 7.5 v3.1 · NVD Secondary
    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • MEDIUM 5 v2.0 · NVD Primary
    AV:N/AC:L/Au:N/C:N/I:N/A:P

References

Patches & mitigations

Advisories

Technical & other

Sources: NVD · CVE.org · All sources and attribution · EPSS