CVE-2023-54354
Nokogiri before 1.14.3 (CRuby implementation only, when using the …
Nokogiri before 1.14.3 (CRuby implementation only, when using the packaged libxml2) bundles libxml2 v2.10.3, which is vulnerable to NULL pointer dereferences in XML Schema processing (xmlSchemaFixupComplexType, CVE-2023-28484, and xmlSchemaCheckCOSSTDerivedOK). An attacker who supplies a crafted/malformed XML schema can cause libxml2 to dereference a NULL pointer and potentially segfault, resulting in a denial of service. Nokogiri 1.14.3 upgrades the packaged libxml2 to v2.10.4 to resolve these issues.
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/09a2dd453007f9c7205274623acdd73747c22d64
- github.com/sparklemotion/nokogiri/commit/4c6922f763ad958c48ff66f82823ae21f2e92ee6
- github.com/sparklemotion/nokogiri/commit/647e072ea0a2f12687fa05c172f4c4713fdb0c4f
- github.com/sparklemotion/nokogiri/security/advisories/GHSA-pxvg-2qj5-37jq
- www.vulncheck.com/advisories/nokogiri-before-null-pointer-dereference-via-libxml2
- github.com/GNOME/libxml2/commit/09a2dd453007f9c7205274623acdd73747c22d64
- github.com/GNOME/libxml2/commit/4c6922f763ad958c48ff66f82823ae21f2e92ee6
- github.com/GNOME/libxml2/commit/647e072ea0a2f12687fa05c172f4c4713fdb0c4f
- nvd.nist.gov/vuln/detail/CVE-2023-54354
- cve.org/CVERecord?id=CVE-2023-54354
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.