Vulnerability · Published Jul 20, 2023 · Assigned by mitre

CVE-2023-38408

Critical 9.8

In plain English

A critical-severity security flaw in the openssh package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 79.7% (higher than 99.6% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)79.7%top 0.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remote code execution if an agent is forwarded to an attacker-controlled system. (Code in /usr/lib is not necessarily safe for loading into ssh-agent.) NOTE: this issue exists because of an incomplete fix for CVE-2016-10009.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8openssh8.0p1-19.el8_8ALSA-2023:4419
AlmaLinux:8openssh8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux:9openssh8.7p1-30.el9_2ALSA-2023:4412
AlmaLinux:8openssh-askpass8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux:8openssh-askpass8.0p1-19.el8_8ALSA-2023:4419
AlmaLinux:9openssh-askpass8.7p1-30.el9_2ALSA-2023:4412
AlmaLinux:8openssh-cavs8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux:8openssh-cavs8.0p1-19.el8_8ALSA-2023:4419
AlmaLinux:8openssh-clients8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux:8openssh-clients8.0p1-19.el8_8ALSA-2023:4419
AlmaLinux:9openssh-clients8.7p1-30.el9_2ALSA-2023:4412
AlmaLinux:8openssh-keycat8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux:8openssh-keycat8.0p1-19.el8_8ALSA-2023:4419
AlmaLinux:9openssh-keycat8.7p1-30.el9_2ALSA-2023:4412
AlmaLinux:8openssh-ldap8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux:8openssh-ldap8.0p1-19.el8_8ALSA-2023:4419
AlmaLinux:8openssh-server8.0p1-33.el8_10ALSA-2026:69266
AlmaLinux:8openssh-server8.0p1-19.el8_8ALSA-2023:4419
AlmaLinux:9openssh-server8.7p1-30.el9_2ALSA-2023:4412
AlmaLinux:8pam_ssh_agent_auth0.10.3-8.33.el8_10ALSA-2026:69266
AlmaLinux:8pam_ssh_agent_auth0.10.3-7.19.el8_8ALSA-2023:4419
AlmaLinux:9pam_ssh_agent_auth0.10.4-5.30.el9_2ALSA-2023:4412
Debian:12openssh1:9.2p1-2+deb12u1DEBIAN-CVE-2023-38408
Debian:13openssh1:9.3p2-1DEBIAN-CVE-2023-38408
Debian:14openssh1:9.3p2-1DEBIAN-CVE-2023-38408
Rocky Linux:8openssh0:8.0p1-19.el8_8RLSA-2023:4419
Ubuntu:22.04:LTSopenssh1:8.9p1-3ubuntu0.3UBUNTU-CVE-2023-38408
Ubuntu:22.04:LTSopenssh1:8.9p1-3ubuntu0.3USN-6242-1
Ubuntu:22.04:LTSopenssh-ssh1no fix listedUBUNTU-CVE-2023-38408
Ubuntu:24.04:LTSopenssh-ssh1no fix listedUBUNTU-CVE-2023-38408
Ubuntu:25.10openssh-ssh1no fix listedUBUNTU-CVE-2023-38408
Ubuntu:26.04:LTSopenssh-ssh1no fix listedUBUNTU-CVE-2023-38408
Ubuntu:26.10openssh-ssh1no fix listedUBUNTU-CVE-2023-38408

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-428 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References