CVE-2023-51385

Publication date 20 December 2023

Last updated 16 September 2024


Ubuntu priority

Cvss 3 Severity Score

6.5 · Medium

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
openssh 24.10 oracular
Fixed 1:9.6p1-3ubuntu1
24.04 LTS noble
Fixed 1:9.6p1-3ubuntu1
23.10 mantic
Fixed 1:9.3p1-1ubuntu3.2
23.04 lunar
Fixed 1:9.0p1-1ubuntu8.7
22.04 LTS jammy
Fixed 1:8.9p1-3ubuntu0.6
20.04 LTS focal
Fixed 1:8.2p1-4ubuntu0.11
18.04 LTS bionic
16.04 LTS xenial
14.04 LTS trusty
Needs evaluation
openssh-ssh1 24.10 oracular
Vulnerable
24.04 LTS noble
Vulnerable
23.10 mantic Ignored end of life, was needed
23.04 lunar Ignored end of life, was needs-triage
22.04 LTS jammy
Vulnerable
20.04 LTS focal
Vulnerable
18.04 LTS bionic
Vulnerable
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


seth-arnold

openssh-ssh1 is provided for compatibility with old devices that cannot be upgraded to modern protocols. Thus we may not provide security support for this package if doing so would prevent access to equipment.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
openssh

Severity score breakdown

Parameter Value
Base score 6.5 · Medium
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality Low
Integrity impact Low
Availability impact None
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

References

Related Ubuntu Security Notices (USN)

    • USN-6565-1
    • OpenSSH vulnerabilities
    • 3 January 2024
    • USN-6560-2
    • OpenSSH vulnerabilities
    • 11 January 2024
    • USN-6560-3
    • OpenSSH vulnerability
    • 16 September 2024

Other references