Description
OpenSSH 2.9 and earlier does not initiate a Pluggable Authentication Module (PAM) session if commands are executed with no pty, which allows local users to bypass resource limits (rlimits) set in pam.d.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openssh | 1:3.0.1p1-1 | — |
| Debian 13 | openssh | 1:3.0.1p1-1 | — |
| Debian 12 | openssh | 1:3.0.1p1-1 | — |
References
- 2917 vdb-entry
- VU#797027 third-party-advisory
- 20010619 pam session mailing-list
- openssh-rsh-bypass-pam(6757) vdb-entry