[DRE-maint] Bug#1009787: ruby-nokogiri: CVE-2022-24836: Inefficient Regular Expression Complexity

Salvatore Bonaccorso carnil at debian.org
Sun Apr 17 20:32:08 BST 2022


Source: ruby-nokogiri
Version: 1.13.1+dfsg-2
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil at debian.org, Debian Security Team <team at security.debian.org>

Hi,

The following vulnerability was published for ruby-nokogiri.

CVE-2022-24836[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2022-24836
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24836
[1] https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-crjr-9rc5-ghw8
[2] https://github.com/sparklemotion/nokogiri/commit/e444525ef1634b675cd1cf52d39f4320ef0aecfd

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



More information about the Pkg-ruby-extras-maintainers mailing list