CVE-2023-38408

CRITICALCVSS 9.8/10EPSS 76.77%

Last modified

CVE-2023-38408 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 76.77% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
76.77%

99.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
OpenbsdOpenssh< 9.3
OpenbsdOpenssh9.3
FedoraprojectFedora37
FedoraprojectFedora38

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2023-38408?
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.
How severe is CVE-2023-38408?
CVE-2023-38408 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 76.77% probability of exploitation in the next 30 days.
How do I fix CVE-2023-38408?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-38408?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST