USN-6242-2: OpenSSH vulnerability
31 July 2023
OpenSSH could be made to run programs as your login when using ssh-agent forwarding.
Releases
Packages
- openssh - secure shell (SSH) for secure access to remote machines
Details
USN-6242-1 fixed a vulnerability in OpenSSH. This update provides
the corresponding update for Ubuntu 14.04 LTS, Ubuntu 16.04 LTS,
and Ubuntu 18.04 LTS.
Original advisory details:
It was discovered that OpenSSH incorrectly handled loading certain PKCS#11
providers. If a user forwarded their ssh-agent to an untrusted system, a
remote attacker could possibly use this issue to load arbitrary libraries
from the user's system and execute arbitrary code.
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 18.04
-
openssh-client
-
1:7.6p1-4ubuntu0.7+esm1
Available with Ubuntu Pro
Ubuntu 16.04
-
openssh-client
-
1:7.2p2-4ubuntu2.10+esm3
Available with Ubuntu Pro
Ubuntu 14.04
-
openssh-client
-
1:6.6p1-2ubuntu2.13+esm1
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.