CVE-2021-3537
MEDIUM5.9EPSS 0.11%Nokogiri Implements libxml2 version vulnerable to null pointer dereferencing
Published: 5/24/2022Modified: 4/28/2026
Description
A vulnerability found in libxml2 in versions before 2.9.11 shows that it did not propagate errors while parsing XML mixed content, causing a NULL dereference. If an untrusted XML document was parsed in recovery mode and post-validated, the flaw could be used to crash the application. The highest threat from this vulnerability is to system availability.
Affected packages (3)
- Alpine/libxml2from 0, < 2.9.9-r5
- Debian/libxml2from 0, < 2.9.10+dfsg-6.6
- RubyGems/nokogirifrom 0, < 1.11.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (16)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-3537
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2021-3537
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-3537
- PATCHhttps://github.com/sparklemotion/nokogiri
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=1956522
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2021-3537.yml
- WEBhttps://github.com/sparklemotion/nokogiri/blob/2edbbef95f1dc12c1ddc5ebda71b9159026245fe/CHANGELOG.md?plain=1#L722
- WEBhttps://lists.debian.org/debian-lts-announce/2021/05/msg00008.html
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/BZOMV5J4PMZAORVT64BKLV6YIZAFDGX6
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/QVM4UJ3376I6ZVOYMHBNX4GY3NIV52WV
- WEBhttps://nokogiri.org/CHANGELOG.html#1114-2021-05-14
- WEBhttps://security.gentoo.org/glsa/202107-05
- WEBhttps://security.netapp.com/advisory/ntap-20210625-0002
- WEBhttps://www.oracle.com/security-alerts/cpuapr2022.html
- WEBhttps://www.oracle.com/security-alerts/cpujul2022.html
- WEBhttps://www.oracle.com/security-alerts/cpuoct2021.html