CVE-2023-54354
Published: September 3, 2026Last modified: September 16, 2026
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.
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score | 7.5 |
| Attack Vector | NETWORK |
| Attack complexity | LOW |
| Privileges required | NONE |
| User interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality | NONE |
| Integrity impact | NONE |
| Availability impact | HIGH |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Status
| Product | Release | Package | Status |
|---|---|---|---|
| Alpaquita Linux | 23 LTS | ruby-nokogiri | Fixed (1.16.7-r0) |
| 25 LTS | ruby-nokogiri | Not affected (1.18.8-r0) | |
| Stream | ruby-nokogiri | Fixed (1.15.3-r0) |
References
- https://github.com/GNOME/libxml2/commit/09a2dd453007f9c7205274623acdd73747c22d64
- https://github.com/GNOME/libxml2/commit/4c6922f763ad958c48ff66f82823ae21f2e92ee6
- https://github.com/GNOME/libxml2/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