OS Command Injection Affecting openssh package, versions <1:9.2p1-2+deb12u2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.3% (71st 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 OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-OPENSSH-6130530
  • published19 Dec 2023
  • disclosed18 Dec 2023

Introduced: 18 Dec 2023

CVE-2023-51385  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Debian:12 openssh to version 1:9.2p1-2+deb12u2 or higher.

NVD Description

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

In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or host name has shell metacharacters, and this name is referenced by an expansion token in certain situations. For example, an untrusted Git repository can have a submodule with shell metacharacters in a user name or host name.

CVSS Scores

version 3.1