
CVE catalog
CVE-2022-24836
ruby-nokogiri affected and fixed versions
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.
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.52% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie | ruby-nokogiri | 1.13.5+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2022-24836] |
| Debiantrixie | ruby-nokogiri | 1.18.2+dfsg-1 | Fixed | [CVE-2022-24836] |
| Debiansid | ruby-nokogiri | 1.13.5+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2022-24836] |
| Debiansid | ruby-nokogiri | 1.19.4+dfsg-1 | Fixed | [CVE-2022-24836] |
| Debianforky | ruby-nokogiri | 1.13.5+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2022-24836] |
| Debianforky | ruby-nokogiri | 1.19.4+dfsg-1 | Fixed | [CVE-2022-24836] |
| Debianbookworm | ruby-nokogiri | 1.13.10+dfsg-2 | Fixed | [CVE-2022-24836] |
| Debianbookworm | ruby-nokogiri | 1.13.5+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2022-24836] |
Showing 8 fix observations. All 35 observations, including unknown and conflicting reports, are available below.
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| UnknownRelease not reported | ruby-nokogiri | 1.13.5+dfsg-1 | UnknownSource applicability is not established | Provider not reported |
| Debianbookworm | ruby-nokogiri | 1.13.10+dfsg-2 | Fixed | [CVE-2022-24836] |
| Debianbookworm | ruby-nokogiri | 1.13.5+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2022-24836] |
| Debianforky | ruby-nokogiri | 1.13.5+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2022-24836] |
| Debianforky | ruby-nokogiri | 1.19.4+dfsg-1 | Fixed | [CVE-2022-24836] |
| Debiansid | ruby-nokogiri | 1.13.5+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2022-24836] |
| Debiansid | ruby-nokogiri | 1.19.4+dfsg-1 | Fixed | [CVE-2022-24836] |
| Debiantrixie | ruby-nokogiri | 1.13.5+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2022-24836] |
| Debiantrixie | ruby-nokogiri | 1.18.2+dfsg-1 | Fixed | [CVE-2022-24836] |
| Opensuseleap 15.3 | rubygem-nokogiri | 1.8.5-150000.3.9.1 | UnknownSource applicability is not established | [SUSE-SU-2022:4015-1] |
| Opensuseleap 15.4 | rubygem-nokogiri | 1.8.5-150400.14.3.1 | UnknownSource applicability is not established | [SUSE-SU-2022:4016-1] |
| Suselinux enterprise high availability extension 15 | rubygem-nokogiri | 1.8.5-150000.3.9.1 | UnknownSource applicability is not established | [SUSE-SU-2022:4015-1] |
| Suselinux enterprise high availability extension 15 sp1 | rubygem-nokogiri | 1.8.5-150000.3.9.1 | UnknownSource applicability is not established | [SUSE-SU-2022:4015-1] |
| Suselinux enterprise high availability extension 15 sp2 | rubygem-nokogiri | 1.8.5-150000.3.9.1 | UnknownSource applicability is not established | [SUSE-SU-2022:4015-1] |
| Suselinux enterprise module for basesystem 15 sp3 | rubygem-nokogiri | 1.8.5-150000.3.9.1 | UnknownSource applicability is not established | [SUSE-SU-2022:4015-1] |
| Suselinux enterprise module for basesystem 15 sp4 | rubygem-nokogiri | 1.8.5-150400.14.3.1 | UnknownSource applicability is not established | [SUSE-SU-2022:4016-1] |
| Suseopenstack cloud crowbar 8 | rubygem-nokogiri | 1.6.1-5.6.1 | UnknownSource applicability is not established | [SUSE-SU-2022:3890-1] |
| Suseopenstack cloud crowbar 9 | rubygem-nokogiri | 1.6.1-5.6.1 | UnknownSource applicability is not established | [SUSE-SU-2022:3890-1] |
| Ubuntu16.04 | ruby-nokogiri | 1.6.6.2+ds-2build2 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
| Ubuntu16.04 | ruby-nokogiri | 1.6.6.3-1 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
| Ubuntu16.04 | ruby-nokogiri | 1.6.7-1 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
| Ubuntu16.04 | ruby-nokogiri | 1.6.7.1-1 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
| Ubuntu16.04 | ruby-nokogiri | 1.6.7.2-3 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
| Ubuntu16.04 | ruby-nokogiri | 1.6.7.2-3build1 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
| Ubuntu16.04 | ruby-nokogiri | 1.6.7.2-3ubuntu0.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
| Ubuntu18.04 | ruby-nokogiri | 1.8.0-1 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
| Ubuntu18.04 | ruby-nokogiri | 1.8.1-1 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
| Ubuntu18.04 | ruby-nokogiri | 1.8.1-1build1 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
| Ubuntu18.04 | ruby-nokogiri | 1.8.2-1build1 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
| Ubuntu18.04 | ruby-nokogiri | 1.8.2-1ubuntu0.1 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
| Ubuntupro | ruby-nokogiri | 1.11.1+dfsg-2ubuntu1 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
| Ubuntupro | ruby-nokogiri | 1.11.7+dfsg-3 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
| Ubuntupro | ruby-nokogiri | 1.11.7+dfsg-3build1 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
| Ubuntupro | ruby-nokogiri | 1.13.1+dfsg-2 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
| Ubuntupro | ruby-nokogiri | 1.13.1+dfsg-2ubuntu0.1~esm1 | UnknownSource applicability is not established | [UBUNTU-CVE-2022-24836] |
Original provider fields
{
"package_releases": [
{
"name": "ruby-nokogiri",
"status": "fixed",
"release": "sid",
"version": "1.19.4+dfsg-1"
},
{
"name": "ruby-nokogiri",
"status": "fixed",
"release": "forky",
"version": "1.19.4+dfsg-1"
},
{
"name": "ruby-nokogiri",
"status": "fixed",
"release": "trixie",
"version": "1.18.2+dfsg-1"
},
{
"name": "ruby-nokogiri",
"status": "fixed",
"release": "bookworm",
"version": "1.13.10+dfsg-2"
}
],
"fixed_versions": [
{
"bug": 1009787,
"name": "ruby-nokogiri",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "1.13.5+dfsg-1"
},
{
"bug": 1009787,
"name": "ruby-nokogiri",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "1.13.5+dfsg-1"
},
{
"bug": 1009787,
"name": "ruby-nokogiri",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "1.13.5+dfsg-1"
},
{
"bug": 1009787,
"name": "ruby-nokogiri",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "1.13.5+dfsg-1"
}
],
"distribution_packages": [
{
"name": "ruby-nokogiri",
"fixed_version": "1.13.5+dfsg-1",
"applicability_unknown": true
},
{
"name": "rubygem-nokogiri",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.5-150000.3.9.1"
}
]
}
],
"release": "linux enterprise module for basesystem 15 sp3",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:4015-1",
"fixed_version": "1.8.5-150000.3.9.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2022:4015-1",
"provider_updated_at": "2026-02-04T03:17:14.004740Z",
"applicability_unknown": true
},
{
"name": "rubygem-nokogiri",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.5-150000.3.9.1"
}
]
}
],
"release": "linux enterprise high availability extension 15",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:4015-1",
"fixed_version": "1.8.5-150000.3.9.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2022:4015-1",
"provider_updated_at": "2026-02-04T03:17:14.004740Z",
"applicability_unknown": true
},
{
"name": "rubygem-nokogiri",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.5-150000.3.9.1"
}
]
}
],
"release": "linux enterprise high availability extension 15 sp1",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:4015-1",
"fixed_version": "1.8.5-150000.3.9.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2022:4015-1",
"provider_updated_at": "2026-02-04T03:17:14.004740Z",
"applicability_unknown": true
},
{
"name": "rubygem-nokogiri",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.5-150000.3.9.1"
}
]
}
],
"release": "linux enterprise high availability extension 15 sp2",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:4015-1",
"fixed_version": "1.8.5-150000.3.9.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2022:4015-1",
"provider_updated_at": "2026-02-04T03:17:14.004740Z",
"applicability_unknown": true
},
{
"name": "rubygem-nokogiri",
"distro": "opensuse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.5-150000.3.9.1"
}
]
}
],
"release": "leap 15.3",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:4015-1",
"fixed_version": "1.8.5-150000.3.9.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2022:4015-1",
"provider_updated_at": "2026-02-04T03:17:14.004740Z",
"applicability_unknown": true
},
{
"name": "rubygem-nokogiri",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.5-150400.14.3.1"
}
]
}
],
"release": "linux enterprise module for basesystem 15 sp4",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:4016-1",
"fixed_version": "1.8.5-150400.14.3.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2022:4016-1",
"provider_updated_at": "2026-02-04T02:52:00.215260Z",
"applicability_unknown": true
},
{
"name": "rubygem-nokogiri",
"distro": "opensuse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.5-150400.14.3.1"
}
]
}
],
"release": "leap 15.4",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:4016-1",
"fixed_version": "1.8.5-150400.14.3.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2022:4016-1",
"provider_updated_at": "2026-02-04T02:52:00.215260Z",
"applicability_unknown": true
},
{
"name": "rubygem-nokogiri",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.1-5.6.1"
}
]
}
],
"release": "openstack cloud crowbar 8",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:3890-1",
"fixed_version": "1.6.1-5.6.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2022:3890-1",
"provider_updated_at": "2026-02-04T02:32:22.582243Z",
"applicability_unknown": true
},
{
"name": "rubygem-nokogiri",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.1-5.6.1"
}
]
}
],
"release": "openstack cloud crowbar 9",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2022:3890-1",
"fixed_version": "1.6.1-5.6.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2022:3890-1",
"provider_updated_at": "2026-02-04T02:32:22.582243Z",
"applicability_unknown": true
},
{
"name": "ruby-nokogiri",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "pro",
"versions": [
"1.11.1+dfsg-2ubuntu1",
"1.11.7+dfsg-3",
"1.11.7+dfsg-3build1",
"1.13.1+dfsg-2",
"1.13.1+dfsg-2ubuntu0.1~esm1"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-24836",
"fixed_version": "",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2022-24836",
"provider_updated_at": "2025-10-24T04:53:30Z",
"applicability_unknown": true
},
{
"name": "ruby-nokogiri",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "16.04",
"versions": [
"1.6.6.2+ds-2build2",
"1.6.6.3-1",
"1.6.7-1",
"1.6.7.1-1",
"1.6.7.2-3",
"1.6.7.2-3build1",
"1.6.7.2-3ubuntu0.1"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-24836",
"fixed_version": "",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2022-24836",
"provider_updated_at": "2025-10-24T04:53:30Z",
"applicability_unknown": true
},
{
"name": "ruby-nokogiri",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "18.04",
"versions": [
"1.8.0-1",
"1.8.1-1",
"1.8.1-1build1",
"1.8.2-1build1",
"1.8.2-1ubuntu0.1"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-24836",
"fixed_version": "",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2022-24836",
"provider_updated_at": "2025-10-24T04:53:30Z",
"applicability_unknown": true
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [ruby-nokogiri]Unknown
Source package: [ruby-nokogiri]
Details (2)
1.13.10+dfsg-2+b1· amd64 · bookwormFixed · Fixed:
1.13.5+dfsg-1dsa · ruby-nokogiri · debian · bookworm
1.13.10+dfsg-2+b1· arm64 · bookwormFixed · Fixed:
1.13.5+dfsg-1dsa · ruby-nokogiri · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10356-1.json]
- [https://osv.dev/vulnerability/DLA-3003-1]
- [https://osv.dev/vulnerability/DLA-3868-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:3890-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:4015-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:4016-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-24836]
- [https://security-tracker.debian.org/tracker/CVE-2022-24836]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-24836.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-2313.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]