CVE-2022-23308
libxml2: Use-after-free of ID and IDREF attributes
Overview
Description
valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-416
Affected packages · 2
Operating systems · 69 fixes
Oracle Linux 1 release · 1 package
fixed 1
libxml2
| Release | Package | Fixed in |
|---|---|---|
| 8 | libxml2 +2 | 2.9.7-12.el8_5 |
Photon OS 2 releases · 1 package
fixed 2
libxml2
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | libxml2 +2 | 2.9.12-3.ph4 |
| 5.0 | libxml2 +2 | 2.15.3-1.ph5 |
Red Hat 2 releases · 14 packages
eol 1
fixed 27
libxml2
jbcs-httpd24-openssl-pkcs11
jbcs-httpd24-openssl-chil
jbcs-httpd24-mod-http2
jbcs-httpd24-mod-jk-ap24
jbcs-httpd24-mod-cluster-native
+8
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | libxml2 +3 | eol | — |
| 7 | jbcs-httpd24-openssl-pkcs11 | 0:0.4.10-26.jbcs.el7 | RHSA-2022:1389 |
| 7 | jbcs-httpd24-openssl-chil | 0:1.0.0-11.jbcs.el7 | RHSA-2022:1389 |
| 7 | jbcs-httpd24-mod-http2 | 0:1.15.7-22.jbcs.el7 | RHSA-2022:1389 |
| 7 | jbcs-httpd24-mod-jk-ap24 +1 | 0:1.2.48-29.redhat_1.jbcs.el7 | RHSA-2022:1389 |
| 7 | jbcs-httpd24-mod-cluster-native | 0:1.3.16-10.Final_redhat_2.jbcs.el7 | RHSA-2022:1389 |
22 more rows
SUSE Linux Enterprise 2 releases · 1 package
fixed 2
libxml2-2
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libxml2-2 +5 | 2.9.4-46.49.1 | SUSE-SU-2022:1308-1 |
| 15.4 | libxml2-2 +4 | 2.9.14-150400.5.7.1 | SUSE-SU-2022:2552-1 |
SUSE Linux Enterprise Micro 2 releases · 2 packages
fixed 3
libxml2-2
python3-libxml2-python
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | libxml2-2 +1 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| 5.2 | libxml2-2 +1 | 2.9.7-150000.3.46.1 | SUSE-SU-2022:1750-1 |
| 5.2 | python3-libxml2-python | 2.9.7-3.40.1 | SUSE-SU-2022:0802-2 |
alma 1 release · 1 package
fixed 1
libxml2-devel
| Release | Package | Fixed in |
|---|---|---|
| 8 | libxml2-devel | 2.9.7-12.el8_5 |
alpine 4 releases · 2 packages
fixed 6
libxml2
qt5-qtwebengine
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | libxml2 | 2.9.13-r0 |
| 3.22 | qt5-qtwebengine | 5.15.11-r13 |
| 3.23 | libxml2 | 2.9.13-r0 |
| 3.23 | qt5-qtwebengine | 5.15.11-r13 |
| 3.24 | libxml2 | 2.9.13-r0 |
| edge | libxml2 | 2.9.13-r0 |
amazon linux 1 release · 1 package
fixed 1
libxml2
| Release | Package | Fixed in |
|---|---|---|
| 2023 | libxml2 +6 | 2.10.3-2.amzn2023.0.1 |
debian 6 releases · 1 package
fixed 6
libxml2
| Release | Package | Fixed in |
|---|---|---|
| 10 | libxml2 | 2.9.4+dfsg1-7+deb10u3 |
| 11 | libxml2 | 2.9.10+dfsg-6.7+deb11u1 |
| 12 | libxml2 | 2.9.13+dfsg-1 |
| 13 | libxml2 | 2.9.13+dfsg-1 |
| 14 | libxml2 | 2.9.13+dfsg-1 |
| 9 | libxml2 | 2.9.4+dfsg1-2.2+deb9u6 |
echo 1 release · 2 packages
fixed 2
libxml2-2-9-1
libxml2
| Release | Package | Fixed in |
|---|---|---|
| libxml2-2-9-1 | 2.9.1+e1 | |
| libxml2 | 2.9.13+dfsg-1 |
openSUSE 1 release · 6 packages
fixed 6
ruby3-1-rubygem-nokogiri
ruby3-2-rubygem-nokogiri
ruby3-3-rubygem-nokogiri
ruby3-4-rubygem-nokogiri
ruby4-0-rubygem-nokogiri
libxml2-2
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ruby3-1-rubygem-nokogiri | 1.13.3-1.1 | openSUSE-SU-2024:11912-1 |
| Tumbleweed | ruby3-2-rubygem-nokogiri | 1.13.9-1.7 | openSUSE-SU-2024:13165-1 |
| Tumbleweed | ruby3-3-rubygem-nokogiri | 1.15.5-1.5 | openSUSE-SU-2024:14174-1 |
| Tumbleweed | ruby3-4-rubygem-nokogiri | 1.18.2-1.1 | openSUSE-SU-2025:14697-1 |
| Tumbleweed | ruby4-0-rubygem-nokogiri | 1.18.9-1.4 | openSUSE-SU-2026:10356-1 |
| Tumbleweed | libxml2-2 +5 | 2.9.13-1.1 | openSUSE-SU-2024:11950-1 |
rocky 1 release · 1 package
fixed 1
libxml2
| Release | Package | Fixed in |
|---|---|---|
| 8 | libxml2 +1 | 2.9.7-12.el8_5 |
root.io debian 3 releases · 1 package
fixed 3
rootio-libxml2
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-libxml2 | 2.9.10+dfsg-6.7+deb11u1 |
| 12 | rootio-libxml2 | 2.9.13+dfsg-1 |
| 13 | rootio-libxml2 | 2.9.13+dfsg-1 |
seal Red Hat 3 releases · 1 package
fixed 3
libxml2
| Release | Package | Fixed in |
|---|---|---|
| 7 | libxml2 +1 | 2.9.1-6.el7_9.6+sp999 |
| 8 | libxml2 +1 | 2.9.7-18.el8_10.1+sp999 |
| 9 | libxml2 +1 | 2.9.13-6.el9_4+sp999 |
ubuntu 4 releases · 1 package
fixed 4
libxml2
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | libxml2 | 2.9.4+dfsg1-6.1ubuntu1.5 |
| 18.04-ESM | libxml2 | 2.9.4+dfsg1-6.1ubuntu1.5 |
| 20.04 | libxml2 | 2.9.10+dfsg-5ubuntu0.20.04.2 |
| 20.04-ESM | libxml2 | 2.9.10+dfsg-5ubuntu0.20.04.2 |
References
- seclists.org http://seclists.org/fulldisclosure/2022/May/33
- seclists.org http://seclists.org/fulldisclosure/2022/May/34
- seclists.org http://seclists.org/fulldisclosure/2022/May/35
- seclists.org http://seclists.org/fulldisclosure/2022/May/36
- seclists.org http://seclists.org/fulldisclosure/2022/May/37
- seclists.org http://seclists.org/fulldisclosure/2022/May/38
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:0899
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-23308
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2056913
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-398330.html
Show all 34 references
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-419740.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-942865.html
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23308
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2022:0899
- github.com https://github.com/GNOME/libxml2/commit/652dd12a858989b14eed4e84e453059cd3ba340e
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.9.13/NEWS
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-23308.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-0899.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/04/msg00004.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LA3MWWAYZADWJ5F6JOUBX65UZAMQB7RF/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-23308
- security.gentoo.org https://security.gentoo.org/glsa/202210-03
- security.netapp.com https://security.netapp.com/advisory/ntap-20220331-0008/
- support.apple.com https://support.apple.com/kb/HT213253
- support.apple.com https://support.apple.com/kb/HT213254
- support.apple.com https://support.apple.com/kb/HT213255
- support.apple.com https://support.apple.com/kb/HT213256
- support.apple.com https://support.apple.com/kb/HT213257
- support.apple.com https://support.apple.com/kb/HT213258
- ubuntu.com https://ubuntu.com/security/notices/USN-5324-1
- ubuntu.com https://ubuntu.com/security/notices/USN-5422-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-23308
- www.oracle.com https://www.oracle.com/security-alerts/cpujul2022.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.