IBM Support

Security Bulletin: AIX is vulnerable to a denial of service due to libxml2 (CVE-2022-29824)

Security Bulletin


Summary

UPDATED Dec 12 2022 (Added iFixes for AIX 7.2 TL5 SP5 and VIOS 3.1.4.10): A vulnerability in libxml2 could allow a remote attacker to cause a denial of service (CVE-2022-29824). AIX uses libxml2 as part of its XML parsing functions.

Vulnerability Details

CVEID:   CVE-2022-29824
DESCRIPTION:   GNOME libxml2 is vulnerable to a denial of service, caused by an integer overflows in several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*). By persuading a victim to open a specially-crafted XML file, a remote attacker could exploit this vulnerability to cause a denial of service condition.
CVSS Base score: 5.5
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/225645 for the current score.
CVSS Vector: (CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H)

Affected Products and Versions

Affected Product(s)Version(s)
AIX7.2
AIX7.3
VIOS3.1

 

The following fileset levels are vulnerable:

 

FilesetLower LevelUpper Level
bos.rte.control7.2.4.07.2.4.5
bos.rte.control7.2.5.07.2.5.4
bos.rte.control7.2.5.1007.2.5.101
bos.rte.control7.2.5.2007.2.5.201
bos.rte.control7.3.0.07.3.0.1

 

To find out whether the affected filesets are installed on your systems, refer to the lslpp command found in AIX user's guide.
Example:  lslpp -L | grep -i bos.rte.control
 

Remediation/Fixes

A. APARS
            
IBM has assigned the following APARs to this problem:
 
AIX LevelAPARSP
7.2.4IJ42381N/A
7.2.5IJ45056SP07
7.3.0IJ45059SP04

 

VIOS LevelAPARSP
3.1.1IJ42381N/A
3.1.2IJ450573.1.2.60
3.1.3IJ450583.1.3.40
3.1.4IJ450563.1.4.30

 

Subscribe to the APARs here:

By subscribing, you will receive periodic email alerting you to the status of the APAR, and a link to download the fix once it becomes available.
B. FIXES
IBM strongly recommends addressing the vulnerability now.
AIX and VIOS fixes are available.
The AIX and VIOS fixes can be downloaded via ftp or http from:
The link above is to a tar file containing this signed advisory, fix packages, and OpenSSL signatures for each package. The fixes below include prerequisite checking. This will enforce the correct mapping between the fixes and AIX Technology Levels.
 
AIX LevelInterim Fix
7.2.4.4IJ42381s6a.220909.epkg.Z
7.2.4.5IJ42381s6a.220909.epkg.Z
7.2.4.6IJ42381s6a.220909.epkg.Z
7.2.5.2IJ42339s2a.220909.epkg.Z
7.2.5.3IJ42339s4a.220907.epkg.Z
7.2.5.4IJ42339s4a.220907.epkg.Z
7.2.5.5IJ42339s5a.221212.epkg.Z
7.3.0.1IJ42341s2a.220907.epkg.Z
7.3.0.2IJ42341s2a.220907.epkg.Z

 

Please note that the above table refers to AIX TL/SP level as opposed to fileset level, i.e., 7.2.5.2 is AIX 7200-05-02.
Please reference the Affected Products and Version section above for help with checking installed fileset levels.
 
VIOS LevelInterim Fix
3.1.1.40IJ42381s6a.220909.epkg.Z
3.1.1.50IJ42381s6a.220909.epkg.Z
3.1.1.60IJ42381s6a.220909.epkg.Z
3.1.2.21IJ42378s2a.220909.epkg.Z
3.1.2.30IJ42378s2a.221010.epkg.Z
3.1.2.40IJ42378s2a.221010.epkg.Z
3.1.3.10IJ42379s4a.220909.epkg.Z
3.1.3.14IJ42379s4a.220909.epkg.Z
3.1.3.21IJ42379s4a.220909.epkg.Z
3.1.4.10IJ42339s5a.221212.epkg.Z

 

To extract the fixes from the tar file:
tar xvf libxml2_fix3.tar
cd libxml2_fix3
Verify you have retrieved the fixes intact:
The checksums below were generated using the "openssl dgst -sha256 [filename]" command as the following:
 
openssl dgst -sha256filename
f6d71f263ee414469dde9e6c3325fbc56031d3098ee8831f330e90c9e6b4dd9aIJ42339s2a.220909.epkg.Z
062b34620bc669451695f0de09580aef6e16f36f6430654dee5c403d23bc2fccIJ42339s4a.220907.epkg.Z
6a76b4c66b2ff7022b6a00eb2348b4c930af7293692631367f08e4bc65a753dfIJ42339s5a.221212.epkg.Z
562b5f19d4db9e4c8835fd92f2e65038c2d765f0ff5e3ef40bad2d9110403a26IJ42341s2a.220907.epkg.Z
f5ec81e718eef7d02adfb85a70f626073f684b93d72173212ba5675fe1eff001IJ42378s2a.220909.epkg.Z
6d32716245fee8bc45fb961754eb53aaabc8630eb1e999c1e67cee237cc058cdIJ42378s2a.221010.epkg.Z
e00696e638622f82a2264b994fff9415b55c323a271da4c4bb84626046aa031cIJ42379s4a.220909.epkg.Z
f03c422e62ea819fa2dfc56342a16da80d20df4444667c6fae97ae95c1c2f6ddIJ42381s6a.220909.epkg.Z

 

These sums should match exactly. The OpenSSL signatures in the tar file and on this advisory can also be used to verify the integrity of the fixes.  If the sums or signatures cannot be confirmed, contact IBM Support at http://ibm.com/support/ and describe the discrepancy.         
openssl dgst -sha256 -verify [pubkey_file] -signature [advisory_file].sig [advisory_file]
openssl dgst -sha256 -verify [pubkey_file] -signature [ifix_file].sig [ifix_file]
Published advisory OpenSSL signature file location:
C. FIX AND INTERIM FIX INSTALLATION
If possible, it is recommended that a mksysb backup of the system be created. Verify it is both bootable and readable before proceeding.
To preview a fix installation:
installp -a -d fix_name -p all  # where fix_name is the name of the
                                            # fix package being previewed.
 
To install a fix package:
installp -a -d fix_name -X all  # where fix_name is the name of the
                                            # fix package being installed.
Interim fixes have had limited functional and regression testing but not the full regression testing that takes place for Service Packs; however, IBM does fully support them.
Interim fix management documentation can be found at:
To preview an interim fix installation:
emgr -e ipkg_name -p         # where ipkg_name is the name of the
                                         # interim fix package being previewed.
To install an interim fix package:
emgr -e ipkg_name -X         # where ipkg_name is the name of the
                                         # interim fix package being installed.
 

Workarounds and Mitigations

None

Get Notified about Future Security Bulletins

References

Off

Acknowledgement

Change History

12 Dec 2022: Added iFixes for AIX 7.2 TL5 SP5 and VIOS 3.1.4.10
12 Sep 2022: Initial Publication

*The CVSS Environment Score is customer environment specific and will ultimately impact the Overall CVSS Score. Customers can evaluate the impact of this vulnerability in their environments by accessing the links in the Reference section of this Security Bulletin.

Disclaimer

Review the IBM security bulletin disclaimer and definitions regarding your responsibilities for assessing potential impact of security vulnerabilities to your environment.

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"Systems w\/TPS"},"Product":{"code":"SSSMHJ","label":"PowerVM Virtual I\/O Server"},"Component":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"3.1","Edition":""}]

Document Information

Modified date:
31 October 2023

UID

ibm16619729