IBM Support

Security Bulletin: Vulnerability in AIX nimsh (CVE-2022-22351)

Security Bulletin


Summary

UPDATED Mar 24 (See Change History): There is a vulnerability in the AIX nimsh daemon.

Vulnerability Details

CVEID:   CVE-2022-22351
DESCRIPTION:   IBM AIX could allow a non-privileged trusted host user to exploit a vulnerability in the nimsh daemon to cause a denial of service in the nimsh daemon on another trusted host.
CVSS Base score: 6.1
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/220396 for the current score.
CVSS Vector: (CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H)

Affected Products and Versions

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

 

The vulnerabilities in the following filesets are being addressed:

 

FilesetLower LevelUpper Level
bos.sysmgt.nim.client7.1.5.07.1.5.37
bos.sysmgt.nim.client7.2.4.07.2.4.4
bos.sysmgt.nim.client7.2.5.07.2.5.1
bos.sysmgt.nim.client7.2.5.1007.2.5.100
bos.sysmgt.nim.client7.3.0.07.3.0.0

 

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.sysmgt.nim.client
 

Remediation/Fixes

A. APARS
            
IBM has assigned the following APARs to this problem:
 
AIX LevelAPARSP
7.1.5IJ37419SP10
7.2.4IJ37705SP06
7.2.5IJ36681SP04
7.3.0IJ36593SP02

 

VIOS LevelAPARSP
3.1.1IJ377053.1.1.60
3.1.2IJ377063.1.2.40
3.1.3IJ366813.1.3.20

 

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
 
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.1.5.7IJ37419m9a.220324.epkg.Z
7.1.5.8IJ37419m9a.220324.epkg.Z
7.1.5.9IJ37419m9a.220324.epkg.Z
7.2.4.3IJ37705m4a.220324.epkg.Z
7.2.4.4IJ37705m4a.220324.epkg.Z
7.2.4.5IJ37705m5a.220324.epkg.Z
7.2.5.1IJ37706m2a.220324.epkg.Z
7.2.5.2IJ37706m2a.220324.epkg.Z
7.2.5.3IJ36681m3a.220324.epkg.Z
7.3.0.1IJ36593m1a.220324.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.30IJ37705m4a.220324.epkg.Z
3.1.1.40IJ37705m4a.220324.epkg.Z
3.1.1.50IJ37705m5a.220324.epkg.Z
3.1.2.10IJ37706m2a.220324.epkg.Z
3.1.2.21IJ37706m2a.220324.epkg.Z
3.1.3.10IJ36681m3a.220324.epkg.Z
3.1.3.14IJ36681m3a.220324.epkg.Z
 
 
To extract the fixes from the tar file:
 
tar xvf nimsh_fix.tar
cd nimsh_fix
 
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
7b0c82481aa7e93dab6ec60a3723ee88d63de7a339eb1e10366e71009fe5cf64IJ36593m1a.220324.epkg.Z
98cc59b5bb5947a7f8d29ee87742ac094117844cb5b309c2b5a5d2378b727687IJ36681m3a.220324.epkg.Z
71d81e4e864e387413eb7a5421fe796f9afa3031cc413758278e093d88be7832IJ37419m9a.220324.epkg.Z
6efae17ca82b02385cf44458a79535416d4f242debbccb63eb217c96e1ebd746IJ37705m4a.220324.epkg.Z
fb9c4a622a7c39ab2ddeeac2cf70ae71c9653c7cb9417cea120791803bd2426dIJ37705m5a.220324.epkg.Z
f6fefdf2a94ffeb0362fc54d7e61f60e4ad5412ac7e651a2ee23ffc644b5e2a0IJ37706m2a.220324.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

04 Mar 2022: Initial Publication
Updated:
Update: New iFixes provided for all levels. The new iFixes resolve a technical failure with the previous iFixes when running NIM commands of extended length, resulting in a /var/adm/ras/nimsh.log error message similar to:
error: command not allowed. Please verify NIM command

*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":""},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"Component":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"7.1,7.2,7.3","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
24 March 2022

UID

ibm16561275