CVE-2023-54354
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/sparklemotion/nokogiri/commit/09a2dd453007f9c7205274623acdd73747c22d64
- https://github.com/sparklemotion/nokogiri/commit/4c6922f763ad958c48ff66f82823ae21f2e92ee6
- https://github.com/sparklemotion/nokogiri/commit/647e072ea0a2f12687fa05c172f4c4713fdb0c4f
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-pxvg-2qj5-37jq
- https://www.vulncheck.com/advisories/nokogiri-before-null-pointer-dereference-via-libxml2
CWEs
CWE-476
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.