IBM Support

Security Bulletin: Recommended mitigation for SSH "Terrapin" vulnerability in IBM SAN Volume Controller, IBM Storwize, IBM Storage Virtualize and IBM FlashSystem products

Security Bulletin


Summary

The SSH "Terrapin" vulnerability affects IBM SAN Volume Controller, IBM Storwize, IBM Storage Virtualize and IBM FlashSystem products when using the chacha20-poly1305@openssh.com cipher. This cipher can be disabled with a chsecurity command to fix the vulnerability.

Vulnerability Details

CVEID:   CVE-2023-48795
DESCRIPTION:   The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity checks such that some packets are omitted (from the extension negotiation message), and a client and server may consequently end up with a connection for which some security features have been downgraded or disabled, aka a Terrapin attack. This occurs because the SSH Binary Packet Protocol (BPP), implemented by these extensions, mishandles the handshake phase and mishandles use of sequence numbers. For example, there is an effective attack against SSH's use of ChaCha20-Poly1305 (and CBC with Encrypt-then-MAC). The bypass occurs in chacha20-poly1305@openssh.com and (if CBC is used) the -etm@openssh.com MAC algorithms. This also affects Maverick Synergy Java SSH API before 3.1.0-SNAPSHOT, Dropbear through 2022.83, Ssh before 5.1.1 in Erlang/OTP, PuTTY before 0.80, AsyncSSH before 2.14.2, golang.org/x/crypto before 0.17.0, libssh before 0.10.6, libssh2 through 1.11.0, Thorn Tech SFTP Gateway before 3.4.6, Tera Term before 5.1, Paramiko before 3.4.0, jsch before 0.2.15, SFTPGo before 2.5.6, Netgate pfSense Plus through 23.09.1, Netgate pfSense CE through 2.7.2, HPN-SSH through 18.2.0, ProFTPD before 1.3.8b (and before 1.3.9rc2), ORYX CycloneSSH before 2.3.4, NetSarang XShell 7 before Build 0144, CrushFTP before 10.6.0, ConnectBot SSH library before 2.2.22, Apache MINA sshd through 2.11.0, sshj through 0.37.0, TinySSH through 20230101, trilead-ssh2 6401, LANCOM LCOS and LANconfig, FileZilla before 3.66.4, Nova before 11.8, PKIX-SSH before 14.4, SecureCRT before 9.4.3, Transmit5 before 5.10.4, Win32-OpenSSH before 9.5.0.0p1-Beta, WinSCP before 6.2.2, Bitvise SSH Server before 9.32, Bitvise SSH Client before 9.33, KiTTY through 0.76.1.13, the net-ssh gem 7.2.0 for Ruby, the mscdex ssh2 module before 1.15.0 for Node.js, the thrussh library before 0.35.1 for Rust, and the Russh crate before 0.40.2 for Rust.
CWE:   CWE-354: Improper Validation of Integrity Check Value
CVSS Source:   NVD
CVSS Base score:   5.9
CVSS Vector:   (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N)

Affected Products and Versions

Affected Product(s)Version(s)
IBM Storage Virtualize8.4
IBM Storage Virtualize8.5
IBM Storage Virtualize8.6
IBM Storage Virtualize8.7

Remediation/Fixes

IBM recommends that you mitigate this vulnerability by upgrading affected versions of IBM SAN Volume Controller, IBM Storwize V7000, IBM Storwize V5000 and V5100, IBM Storwize V5000E, IBM Storage Virtualize Software, IBM Storage Virtualize for Public Cloud, IBM FlashSystem V9000, IBM FlashSystem 9500, IBM FlashSystem 9100 Family, IBM FlashSystem 9200, IBM FlashSystem 7300, IBM FlashSystem 7200, IBM FlashSystem 5200 and IBM FlashSystem 5000 to the following code levels or higher and then take the actions detailed in "Mitigations and Workrounds" below:

8.4.0.13

8.5.0.12

8.6.0.3

8.6.2.1

8.6.3.0

8.7.0.0

Latest IBM SAN Volume Controller Code
Latest IBM Storwize V7000 Code
Latest IBM Storwize V5000 and V5100 Code
Latest IBM Storwize V5000E Code
Latest IBM FlashSystem 9500 Code
Latest IBM FlashSystem 9100 Family Code
Latest IBM FlashSystem 9200 Code
Latest IBM FlashSystem 7300 Code
Latest IBM FlashSystem 7200 Code
Latest IBM FlashSystem 5000 and 5200 Code
Latest IBM Storage Virtualize for Public Cloud

For the Storage Nodes of IBM FlashSystem 900, please apply the fixes recommended in the IBM FlashSystem security bulletin for this issue.

Workarounds and Mitigations

IBM recommends disabling the chacha20-poly1305@openssh.com cipher by upgrading to one of the versions in "Remediation/Fixes" above and then running the commands below:   

  • If using 8.6.3.0 or later, run "chsecurity -sshprotocol 4" from the CLI, or navigate to Settings > Security > Security Protocol Levels and choose SSH protocol level 4 in the GUI.
  • If using 8.6.2, upgrade to 8.6.2.1 or later, run "chsecurity -sshprotocol 4" from the CLI, or navigate to Settings > Security > Security Protocol Levels and choose SSH protocol level 4 in the GUI .
  • If using 8.6.0, upgrade to 8.6.0.3 or later, run "chsecurity -sshprotocol 4" from the CLI, or navigate to Settings > Security > Security Protocol Levels and choose SSH protocol level 4 in the GUI.
  • If using 8.5.0, upgrade to 8.5.0.12 or later run "chsecurity -sshprotocol 4" from the CLI.
  • If using 8.4.0, upgrade to 8.4.0.13 or later. Then run "chsecurity -sshprotocol 4" from the CLI.
  • If using any older code levels (including 7.8.1), upgrade to a supported code level.

Note that SSH security level 4 was not supported by earlier versions of Storage Insights and Spectrum Control.

  • For Storage Insights, the fix has been deployed. If you have disabled automatic data collector updates, you should manually update the data collector before enabling SSH security level 4
  • For Spectrum Control, ensure you are running version 5.4.12 or later and have updated the data collector before enabling SSH security level 4.

Get Notified about Future Security Bulletins

References

Off

Acknowledgement

Change History

03 Feb 2025: CVE details updated
29 Jul 2024: 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

According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES ""AS IS"" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY. In addition to other efforts to address potential vulnerabilities, IBM periodically updates the record of components contained in our product offerings. As part of that effort, if IBM identifies previously unidentified packages in a product/service inventory, we address relevant vulnerabilities regardless of CVE date. Inclusion of an older CVEID does not demonstrate that the referenced product has been used by IBM since that date, nor that IBM was aware of a vulnerability as of that date. We are making clients aware of relevant vulnerabilities as we become aware of them. "Affected Products and Versions" referenced in IBM Security Bulletins are intended to be only products and versions that are supported by IBM and have not passed their end-of-support or warranty date. Thus, failure to reference unsupported or extended-support products and versions in this Security Bulletin does not constitute a determination by IBM that they are unaffected by the vulnerability. Reference to one or more unsupported versions in this Security Bulletin shall not create an obligation for IBM to provide fixes for any unsupported or extended-support products or versions.

Document Location

Worldwide


[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"ST3FR9","label":"IBM FlashSystem 5x00"},"Component":"","Platform":[{"code":"PF004","label":"Appliance"}],"Version":"8.4, 8.5, 8.6, 8.7","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STSLR9","label":"IBM FlashSystem 9x00"},"Component":"","Platform":[{"code":"PF004","label":"Appliance"}],"Version":"8.4, 8.5, 8.6, 8.7","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSA76Z4","label":"IBM FlashSystem 7x00"},"Component":"","Platform":[{"code":"PF004","label":"Appliance"}],"Version":"8.4, 8.5, 8.6, 8.7","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STHGUL","label":"IBM Storwize V5000E"},"Component":"","Platform":[{"code":"PF004","label":"Appliance"}],"Version":"8.4, 8.5","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Business Unit":{"code":"BU010","label":"Systems - Storage"},"Product":{"code":"STVLF4","label":"IBM Spectrum Virtualize as Software Only"},"Component":"","Platform":[{"code":"PF004","label":"Appliance"}],"Version":"8.3","Edition":""},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"STKMQV","label":"IBM FlashSystem V9000"},"Component":"","Platform":[{"code":"PF004","label":"Appliance"}],"Version":"8.3","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STHGUJ","label":"IBM Storwize V5000"},"Component":"","Platform":[{"code":"PF004","label":"Appliance"}],"Version":"8.4, 8.5","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"ST3FR7","label":"IBM Storwize V7000"},"Component":"","Platform":[{"code":"PF004","label":"Appliance"}],"Version":"8.4, 8.5","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STPVGU","label":"SAN Volume Controller"},"Component":"","Platform":[{"code":"PF004","label":"Appliance"}],"Version":"8.4, 8.5, 8.6, 8.7","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Business Unit":{"code":"BU010","label":"Systems - Storage"},"Product":{"code":"SSVMX8","label":"IBM Spectrum Virtualize for Public Cloud"},"Component":"","Platform":[{"code":"PF004","label":"Appliance"}],"Version":"8.4, 8.5, 8.6","Edition":""}]

Document Information

More support for:
IBM FlashSystem 5x00

Software version:
8.4, 8.5, 8.6, 8.7

Operating system(s):
Appliance

Document number:
7154643

Modified date:
03 February 2025

UID

ibm17154643

Manage My Notification Subscriptions