Erlang OTP
SSH_FXP_OPENDIR may Lead to Exhaustion of File Handles
Allocation of Resources Without Limits or Throttling vulnerability in Erlang OTP ssh (ssh_sftp modules) allows Excessive Allocation, Flooding. This vulnerability is associated with program files lib/ssh/src/ssh_sftpd.erl. This issue affects OTP from OTP 17.0 before OTP 26.2.5.15, OTP 27.3.4.3, and OTP 28.0.3, corresponding to ssh from 3.0.1 before 5.1.4.12, 5.2.11.3, and 5.3.3.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.0.1, < *
Fixed in *, 5.1.4.12, 5.2.11.3, 5.3.3
- >= 17.0, < *
Fixed in *, 26.2.5.15, 27.3.4.3, 28.0.3
- >= 07b8f441ca711f9812fad9e9115bab3c3aa92f79, < *
Fixed in *, 5f9af63eec4657a37663828d206517828cb9f288, d49efa2d4fa9e6f7ee658719cd76ffe7a33c2401
Mitigation
Upgrade OTP to * or 5.1.4.12 or 5.2.11.3 or 5.3.3 or later.
Upgrade OTP to * or 26.2.5.15 or 27.3.4.3 or 28.0.3 or later.
Upgrade OTP to * or 5f9af63eec4657a37663828d206517828cb9f288 or d49efa2d4fa9e6f7ee658719cd76ffe7a33c2401 or later.
Workaround
* disabling SFTP * limiting number of max_sessions allowed for sshd, so exploiting becomes more complicated
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.