Bug 1216129 (CVE-2023-45322)

Summary: VUL-0: CVE-2023-45322: libxml2,python-libxml2: use-after-free in xmlUnlinkNode() in tree.c
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: abergmann, david.anes, gabriele.sonnu, kim.frederiksen, meissner, stoyan.manolov
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/381061/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-45322:6.5:(AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2023-10-11 11:58:25 UTC
libxml2 through 2.11.5 has a use-after-free that can only occur after a certain memory allocation fails. This occurs in xmlUnlinkNode in tree.c. 

** DISPUTED ** : the vendor's position is "I don't think these issues are critical enough to warrant a CVE ID ... because an attacker typically can't control when memory allocations fail."

References:
https://gitlab.gnome.org/GNOME/libxml2/-/issues/583
https://gitlab.gnome.org/GNOME/libxml2/-/issues/344
http://www.openwall.com/lists/oss-security/2023/10/06/5
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-45322
Comment 1 Gabriele Sonnu 2023-10-11 12:25:57 UTC
Tracking as affected:

 - SUSE:ALP:Source:Standard:1.0/libxml2
 - SUSE:SLE-12-SP2:Update/libxml2
 - SUSE:SLE-12-SP2:Update/python-libxml2 
 - SUSE:SLE-15-SP4:Update/libxml2
 - SUSE:SLE-15-SP5:Update/libxml2
 - SUSE:SLE-15:Update/libxml2            
 - openSUSE:Factory/libxml2         

Upstream fix:

https://gitlab.gnome.org/GNOME/libxml2/-/commit/d39f78069dff496ec865c73aa44d7110e429bce9
Comment 5 Maintenance Automation 2023-11-16 20:30:27 UTC
SUSE-SU-2023:4464-1: An update that solves one vulnerability can now be installed.

Category: security (moderate)
Bug References: 1216129
CVE References: CVE-2023-45322
Sources used:
openSUSE Leap 15.4 (src): python-libxml2-python-2.9.7-150000.3.63.1
openSUSE Leap 15.5 (src): python-libxml2-python-2.9.7-150000.3.63.1
SUSE Linux Enterprise Micro 5.1 (src): libxml2-2.9.7-150000.3.63.1
SUSE Linux Enterprise Micro 5.2 (src): libxml2-2.9.7-150000.3.63.1, python-libxml2-python-2.9.7-150000.3.63.1
SUSE Linux Enterprise Micro for Rancher 5.2 (src): libxml2-2.9.7-150000.3.63.1, python-libxml2-python-2.9.7-150000.3.63.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 6 Maintenance Automation 2023-11-21 16:30:30 UTC
SUSE-SU-2023:4505-1: An update that solves one vulnerability can now be installed.

Category: security (moderate)
Bug References: 1216129
CVE References: CVE-2023-45322
Sources used:
SUSE Linux Enterprise Software Development Kit 12 SP5 (src): libxml2-2.9.4-46.68.2
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): libxml2-2.9.4-46.68.2, python-libxml2-2.9.4-46.68.2
SUSE Linux Enterprise Server 12 SP5 (src): libxml2-2.9.4-46.68.2, python-libxml2-2.9.4-46.68.2
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): libxml2-2.9.4-46.68.2, python-libxml2-2.9.4-46.68.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 7 Maintenance Automation 2023-11-21 16:30:33 UTC
SUSE-SU-2023:4504-1: An update that solves one vulnerability can now be installed.

Category: security (moderate)
Bug References: 1216129
CVE References: CVE-2023-45322
Sources used:
openSUSE Leap 15.5 (src): libxml2-2.10.3-150500.5.11.1, libxml2-python-2.10.3-150500.5.11.1
SUSE Linux Enterprise Micro 5.5 (src): libxml2-2.10.3-150500.5.11.1, libxml2-python-2.10.3-150500.5.11.1
Basesystem Module 15-SP5 (src): libxml2-2.10.3-150500.5.11.1, libxml2-python-2.10.3-150500.5.11.1
Python 3 Module 15-SP5 (src): libxml2-python-2.10.3-150500.5.11.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Maintenance Automation 2023-11-23 12:30:03 UTC
SUSE-SU-2023:4537-1: An update that solves one vulnerability can now be installed.

Category: security (moderate)
Bug References: 1216129
CVE References: CVE-2023-45322
Sources used:
openSUSE Leap 15.4 (src): libxml2-2.9.14-150400.5.25.1, libxml2-python-2.9.14-150400.5.25.1
openSUSE Leap Micro 5.3 (src): libxml2-2.9.14-150400.5.25.1, libxml2-python-2.9.14-150400.5.25.1
openSUSE Leap Micro 5.4 (src): libxml2-2.9.14-150400.5.25.1, libxml2-python-2.9.14-150400.5.25.1
SUSE Linux Enterprise Micro for Rancher 5.3 (src): libxml2-2.9.14-150400.5.25.1, libxml2-python-2.9.14-150400.5.25.1
SUSE Linux Enterprise Micro 5.3 (src): libxml2-2.9.14-150400.5.25.1, libxml2-python-2.9.14-150400.5.25.1
SUSE Linux Enterprise Micro for Rancher 5.4 (src): libxml2-2.9.14-150400.5.25.1, libxml2-python-2.9.14-150400.5.25.1
SUSE Linux Enterprise Micro 5.4 (src): libxml2-2.9.14-150400.5.25.1, libxml2-python-2.9.14-150400.5.25.1
Basesystem Module 15-SP4 (src): libxml2-2.9.14-150400.5.25.1, libxml2-python-2.9.14-150400.5.25.1
Python 3 Module 15-SP4 (src): libxml2-python-2.9.14-150400.5.25.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.