CVE-2023-51385
OpenSSH · CVE-2023-51385
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 19.753% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 6.5 · published by [email protected]CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Assessment source · checked 2026-11-19T11:59:08.734Z
CVSS 3.1 · 6.5 · published by 134c704f-9b21-4f2e-91b3-4a467353bcc0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Assessment source · checked 2026-11-19T11:59:08.734Z
CVSS 3.1 · 6.5 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Assessment source · checked 2026-11-19T16:01:40.017Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T11:59:08.734Z | NVD |
| epss | verified | 2026-11-19T16:04:37.302Z | FIRST EPSS |
| patches | verified | 2026-11-19T16:01:40.017Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:01:25.635Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:01:25.635Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "openssh",
"debian": "https://tracker.debian.org/pkg/openssh",
"source": "https://ubuntu.com/security/cve?package=openssh",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=openssh",
"statuses": [
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:9.6p1-3ubuntu1",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:9.6p1-1",
"release_codename": "upstream"
},
{
"pocket": "esm-infra",
"status": "released",
"component": null,
"description": "1:7.6p1-4ubuntu0.7+esm3",
"release_codename": "bionic"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:8.2p1-4ubuntu0.11",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:8.9p1-3ubuntu0.6",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:9.0p1-1ubuntu8.7",
"release_codename": "lunar"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:9.3p1-1ubuntu3.2",
"release_codename": "mantic"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:9.6p1-3ubuntu1",
"release_codename": "noble"
},
{
"pocket": "esm-infra",
"status": "released",
"component": null,
"description": "1:7.2p2-4ubuntu2.10+esm6",
"release_codename": "xenial"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:9.6p1-3ubuntu1",
"release_codename": "oracular"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "trusty"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:9.6p1-3ubuntu1",
"release_codename": "plucky"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:9.6p1-3ubuntu1",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:9.6p1-3ubuntu1",
"release_codename": "questing"
}
]
}
]Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2023-51385",
"aliases": [],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:9.6p1-1"
}
]
}
],
"package": {
"name": "openssh",
"purl": "pkg:deb/debian/openssh?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-51385.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
}
],
"upstream": [
"CVE-2023-51385"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2023-51385",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2023-51385",
"aliases": [],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:9.2p1-2+deb12u2"
}
]
}
],
"package": {
"name": "openssh",
"purl": "pkg:deb/debian/openssh?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1:9.2p1-2",
"1:9.2p1-2+deb12u1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-51385.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
}
],
"upstream": [
"CVE-2023-51385"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2023-51385",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://www.openssh.com/txt/release-9.6",
"tags": [
"x_transferred"
]
},
{
"url": "https://www.openwall.com/lists/oss-security/2023/12/18/2",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a",
"tags": [
"x_transferred"
]
},
{
"url": "https://www.debian.org/security/2023/dsa-5586",
"name": "DSA-5586",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://vin01.github.io/piptagole/ssh/security/openssh/libssh/remote-code-execution/2023/12/20/openssh-proxycommand-libssh-rce.html",
"tags": [
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2023/12/msg00017.html",
"name": "[debian-lts-announce] 20231226 [SECURITY] [DLA 3694-1] openssh security update",
"tags": [
"mailing-list",
"x_transferred"
]
},
{
"url": "http://www.openwall.com/lists/oss-security/2023/12/26/4",
"name": "[oss-security] 20231226 CVE-2023-51385, CVE-2023-6004: OpenSSH, libssh: Security weakness in ProxyCommand handling",
"tags": [
"mailing-list",
"x_transferred"
]
},
{
"url": "https://security.gentoo.org/glsa/202312-17",
"name": "GLSA-202312-17",
"tags": [
"vendor-advisory",
"x_transferred"
]
},
{
"url": "https://security.netapp.com/advisory/ntap-20240105-0005/",
"tags": [
"x_transferred"
]
},
{
"url": "https://support.apple.com/kb/HT214084",
"tags": [
"x_transferred"
]
},
{
"url": "http://seclists.org/fulldisclosure/2024/Mar/21",
"name": "20240313 APPLE-SA-03-07-2024-2 macOS Sonoma 14.4",
"tags": [
"mailing-list",
"x_transferred"
]
},
{
"url": "http://www.openwall.com/lists/oss-security/2025/10/07/1"
},
{
"url": "http://www.openwall.com/lists/oss-security/2025/10/12/1"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-11-04T21:08:30.097Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 6.5,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "LOW"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2023-51385",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2025-08-15T14:20:00.630258Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-78",
"description": "CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-12-18T14:49:19.304Z"
}
},
{
"affected": [
{
"vendor": "Siemens",
"product": "SIMATIC S7-1500 CPU 1518-4 PN/DP MFP",
"versions": [
{
"status": "affected",
"version": "V3.1.5",
"lessThan": "*",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
},
{
"vendor": "Siemens",
"product": "SIMATIC S7-1500 CPU 1518-4 PN/DP MFP",
"versions": [
{
"status": "affected",
"version": "V3.1.5",
"lessThan": "*",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
},
{
"vendor": "Siemens",
"product": "SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP",
"versions": [
{
"status": "affected",
"version": "V3.1.5",
"lessThan": "*",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
},
{
"vendor": "Siemens",
"product": "SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP",
"versions": [
{
"status": "affected",
"version": "V3.1.5",
"lessThan": "*",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
},
{
"vendor": "Siemens",
"product": "SIMATIC S7-1500 TM MFP - GNU/Linux subsystem",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "V1.1",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
},
{
"vendor": "Siemens",
"product": "SIPLUS S7-1500 CPU 1518-4 PN/DP MFP",
"versions": [
{
"status": "affected",
"version": "V3.1.5",
"lessThan": "*",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
],
"x_adpType": "supplier",
"references": [
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-794697.html"
},
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-769027.html"
},
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-082556.html"
}
],
"providerMetadata": {
"orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e",
"shortName": "siemens-SADP",
"dateUpdated": "2026-10-15T00:16:48.983Z"
}
}
]
}Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5308FBBB-F738-41C5-97A4-E40118E957CD",
"versionEndExcluding": "9.6"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "07B237A9-69A3-4A9C-9DA0-4E06BD37AE73"
},
{
"criteria": "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FA6FEEC2-9F11-4643-8827-749718254FED"
},
{
"criteria": "cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "46D69DCC-AE4D-4EA5-861C-D60951444C6C"
}
],
"operator": "OR"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| distribution-package | Ubuntu / stonking | openssh | security | 1:9.6p1-3ubuntu1 | Official record |
| upstream-note | upstream / upstream | openssh | Not a distribution channel | 1:9.6p1-1 | Official record |
| distribution-package | Ubuntu / bionic | openssh | esm-infra | 1:7.6p1-4ubuntu0.7+esm3 | Official record |
| distribution-package | Ubuntu / focal | openssh | security | 1:8.2p1-4ubuntu0.11 | Official record |
| distribution-package | Ubuntu / jammy | openssh | security | 1:8.9p1-3ubuntu0.6 | Official record |
| distribution-package | Ubuntu / lunar | openssh | security | 1:9.0p1-1ubuntu8.7 | Official record |
| distribution-package | Ubuntu / mantic | openssh | security | 1:9.3p1-1ubuntu3.2 | Official record |
| distribution-package | Ubuntu / noble | openssh | security | 1:9.6p1-3ubuntu1 | Official record |
| distribution-package | Ubuntu / xenial | openssh | esm-infra | 1:7.2p2-4ubuntu2.10+esm6 | Official record |
| distribution-package | Ubuntu / oracular | openssh | security | 1:9.6p1-3ubuntu1 | Official record |
| distribution-package | Ubuntu / plucky | openssh | security | 1:9.6p1-3ubuntu1 | Official record |
| distribution-package | Ubuntu / resolute | openssh | security | 1:9.6p1-3ubuntu1 | Official record |
| distribution-package | Ubuntu / questing | openssh | security | 1:9.6p1-3ubuntu1 | Official record |
| ecosystem-boundary | Debian:13 / 13 | openssh | unknown | 1:9.6p1-1 | Official record |
| ecosystem-boundary | Debian:12 / 12 | openssh | unknown | 1:9.2p1-2+deb12u2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- NVDConsulted: 2026-11-19T11:59:08.734ZArchived source JSON
Source publication: 2023-12-18T19:15:08.773Z
Source modification: 2026-10-15T01:17:12.563ZDocument fingerprint
9a60ee49aca2bfd63bdbeca38300c196a23387bb78dca19bcdca555f07e67733 - CVE ProgramConsulted: 2026-11-19T12:01:25.635ZArchived source JSON
Source publication: 2023-12-18T00:00:00.000Z
Source modification: 2026-10-15T00:16:48.983ZDocument fingerprint
452f00bb572aa46996d47cc95e36212d6a5662605e5ed87c7f02b6a0424e4415 - OSVConsulted: 2026-11-19T12:52:03.693ZArchived source JSON
Source publication: 2023-12-18T19:15:08.773Z
Source modification: 2026-10-26T18:02:35.626ZDocument fingerprint
11dc0b1f1a2471d583ba1b50c54472560fb669e8ec3704d3eb72ebc23f651bc7 - OSVConsulted: 2026-11-19T12:52:06.864ZArchived source JSON
Source publication: 2023-12-18T19:15:08.773Z
Source modification: 2026-10-26T18:02:35.626ZDocument fingerprint
3d30b8f3166adef0e15e4ff42edec687db3ebb2fccb3669efc9d4a7ac0be5c28 - Ubuntu SecurityConsulted: 2026-11-19T16:01:40.017ZArchived source JSON
Source publication: 2023-12-20T00:00:00.000Z
Source modification: 2025-08-19T22:10:12.883ZDocument fingerprint
0d912d6db3b03bac4af903c43859de41384b5d0fceb1c203c6b64f100dc4725a - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:37.302ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
47ced1842f8555a6bd6a9a9bb2689186703c6b59d6171348cfb2ef3265abf8ed
Official status history
- UNKNOWN → PUBLISHED · · evidence