CVE-2022-51000
Nokogiri before 1.13.2 (CRuby, when using packaged libraries) ships …
Nokogiri before 1.13.2 (CRuby, when using packaged libraries) ships vendored libxml2 2.9.12 and libxslt 1.1.34, which are affected by two upstream CVEs. Via CVE-2021-30560 in libxslt, an application transforming XML with untrusted XSL stylesheets is vulnerable to a denial-of-service attack. Via CVE-2022-23308 in libxml2, an application parsing an untrusted document with parse option DTDVALID set to true and NOENT set to false may be vulnerable to denial of service, memory disclosure, or code execution. Nokogiri 1.13.2 upgrades vendored libxml2 to 2.9.13 and libxslt to 1.1.35.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/sparklemotion/nokogiri/commit/50f9c9c
- github.com/sparklemotion/nokogiri/commit/652dd12
- github.com/sparklemotion/nokogiri/security/advisories/GHSA-fq42-c5rg-92c2
- www.vulncheck.com/advisories/nokogiri-before-multiple-vulnerabilities-via-libxml2-libxslt
- github.com/GNOME/libxml2/commit/652dd12
- github.com/GNOME/libxslt/commit/50f9c9c
- nvd.nist.gov/vuln/detail/CVE-2022-51000
- cve.org/CVERecord?id=CVE-2022-51000
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.