CVE-2023-51385

openssh: potential command injection via shell metacharacters

Published Dec 18, 2023 CVSS 3.1 · 6.5 Medium EPSS 19.8% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3694-1 openssh security update
Debian DSA Debian DSA DSA-5586-1 openssh security update
Ubuntu USN Ubuntu USN USN-6560-2 OpenSSH vulnerabilities
Ubuntu USN Ubuntu USN USN-6560-3 OpenSSH vulnerability
Ubuntu USN Ubuntu USN USN-6565-1 OpenSSH vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 15, 2026, 12:16 AM
Reserved
Dec 18, 2023, 12:00 AM
Status
Modified
Published
Dec 18, 2023, 7:15 PM
Modified
Oct 15, 2026, 1:17 AM
Severity
Moderate
Public date
Dec 18, 2023, 12:00 AM