Vulnerabilities

CVE-2023-38408

Critical 9.8 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2023-07-20
Last modified
2026-10-15
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
79.7 % among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Fedoraproject Fedora 37 Affected
Fedoraproject Fedora 38 Affected
Openbsd Openssh < 9.3 Affected
Openbsd Openssh 9.3 Affected

Weakness type

  • CWE-428: Unquoted Search Path or Element

    The product uses a search path that contains an unquoted element, in which the element contains whitespace or other separators. This can cause the product to access resources in a parent path.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities