Arbitrary Code Injection Affecting pam_ssh_agent_auth package, versions <0:0.10.3-7.7.el8_4.1


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
4.87% (93rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-PAMSSHAGENTAUTH-5815825
  • published20 Jul 2023
  • disclosed19 Jul 2023

Introduced: 19 Jul 2023

CVE-2023-38408  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade RHEL:8 pam_ssh_agent_auth to version 0:0.10.3-7.7.el8_4.1 or higher.
This issue was patched in RHSA-2023:4381.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pam_ssh_agent_auth package and not the pam_ssh_agent_auth package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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.

References

CVSS Scores

version 3.1