CVSS 3.1
6.5 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NMedium (6.5). EPSS 20% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExplain CVE-2023-51385 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-51385?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-51385?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-51385 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| openbsd:openssh | before 9.6 |
| debian:debian_linux | 10.0 |
| debian:debian_linux | 11.0 |
| debian:debian_linux | 12.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | openssh | 1:7.9p1-10+deb10u4 | DLA-3694-1 |
| Debian | 11 | openssh | 1:8.4p1-5+deb11u3 | DSA-5586-1 |
| Debian | 12 | openssh | 1:9.2p1-2+deb12u2 | DEBIAN-CVE-2023-51385 DSA-5586-1 |
| Debian | 13, 14 | openssh | 1:9.6p1-1 | DEBIAN-CVE-2023-51385 |
| Ubuntu | 18.04:LTS, 20.04:LTS, 22.04:LTS and 4 more | openssh-ssh1 | no fix listed | UBUNTU-CVE-2023-51385 |
| Ubuntu | 20.04:LTS | openssh | 1:8.2p1-4ubuntu0.11 | UBUNTU-CVE-2023-51385 USN-6565-1 |
| Ubuntu | 22.04:LTS | openssh | 1:8.9p1-3ubuntu0.6 | UBUNTU-CVE-2023-51385 USN-6565-1 |
| Ubuntu | 24.04:LTS | openssh | 1:9.6p1-3ubuntu1 | UBUNTU-CVE-2023-51385 |
| Ubuntu | Pro:14.04:LTS, Pro:FIPS:16.04:LTS, Pro:FIPS:18.04:LTS and 1 more | openssh | no fix listed | UBUNTU-CVE-2023-51385 |
| Ubuntu | Pro:16.04:LTS | openssh | 1:7.2p2-4ubuntu2.10+esm6 | UBUNTU-CVE-2023-51385 USN-6560-2 USN-6560-3 |
| Ubuntu | Pro:18.04:LTS | openssh | 1:7.6p1-4ubuntu0.7+esm3 | UBUNTU-CVE-2023-51385 USN-6560-2 |
| Ubuntu | Pro:FIPS-updates:16.04:LTS | openssh | 1:7.2p2-4ubuntu2.fips.2.10.6 | UBUNTU-CVE-2023-51385 |
| Ubuntu | Pro:FIPS-updates:18.04:LTS | openssh | 1:7.9p1-10~ubuntu18.04.fips.0.9 | UBUNTU-CVE-2023-51385 |
| Ubuntu | Pro:FIPS-updates:20.04:LTS | openssh | 1:8.2p1-4ubuntu0.fips.0.11 | UBUNTU-CVE-2023-51385 |
| Red Hat | enterprise_linux:8::appstream | openssh-askpass, openssh-debuginfo, openssh-debugsource and 6 more | 0:8.0p1-19.el8_9.2 | RHSA-2024:0606 |
| Red Hat | enterprise_linux:8::appstream | pam_ssh_agent_auth-debuginfo | 0:0.10.3-7.19.el8_9.2 | RHSA-2024:0606 |
| Red Hat | enterprise_linux:8::baseos | openssh, openssh-cavs, openssh-ldap and 11 more | 0:8.0p1-19.el8_9.2 | RHSA-2024:0606 |
| Red Hat | enterprise_linux:8::baseos | pam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo | 0:0.10.3-7.19.el8_9.2 | RHSA-2024:0606 |
| Red Hat | enterprise_linux:9::appstream | openssh-askpass, openssh-debuginfo, openssh-debugsource and 5 more | 0:8.7p1-34.el9_3.3 | RHSA-2024:1130 |
| Red Hat | enterprise_linux:9::appstream | pam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo | 0:0.10.4-5.34.el9_3.3 | RHSA-2024:1130 |
| Red Hat | enterprise_linux:9::baseos | openssh, openssh-keycat, openssh-server and 8 more | 0:8.7p1-34.el9_3.3 | RHSA-2024:1130 |
| Red Hat | enterprise_linux:9::baseos | pam_ssh_agent_auth-debuginfo | 0:0.10.4-5.34.el9_3.3 | RHSA-2024:1130 |
| Red Hat | rhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseos | openssh, openssh-server, openssh-clients | 0:8.0p1-7.el8_4.2 | RHSA-2026:22329 |
| Red Hat | rhel_e4s:9.0::appstream | openssh-askpass, openssh-debuginfo, openssh-debugsource and 4 more | 0:8.7p1-13.el9_0.1 | RHSA-2026:1790 |
| Red Hat | rhel_e4s:9.0::appstream | pam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo | 0:0.10.4-4.13.el9_0.4 | RHSA-2026:1790 |
| Red Hat | rhel_e4s:9.0::baseos | openssh, openssh-keycat, openssh-server and 7 more | 0:8.7p1-13.el9_0.1 | RHSA-2026:1790 |
| 13 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 5 more | openssh, openssh-askpass-gnome | 8.4p1-150300.3.30.1 | SUSE-SU-2024:0596-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2 | openssh, openssh-askpass-gnome | 8.1p1-150200.5.46.1 | SUSE-SU-2024:0603-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 5 more | openssh | 8.4p1-150300.3.30.1 | SUSE-SU-2024:0596-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6 | openssh | 9.6p1-150600.6.6.1 | SUSE-SU-2024:2393-1 |
| SUSE | Linux Enterprise Module for Desktop Applications 15 SP5 | openssh-askpass-gnome | 8.4p1-150300.3.30.1 | SUSE-SU-2024:0596-1 |
| SUSE | Linux Enterprise Module for Desktop Applications 15 SP6 | openssh-askpass-gnome | 9.6p1-150600.6.6.1 | SUSE-SU-2024:2393-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 | openssh, openssh-askpass-gnome | 7.2p2-81.12.1 | SUSE-SU-2024:0604-1 |
| SUSE | Linux Enterprise Software Development Kit 12 SP5 | openssh-testuser | 0-81.12.1 | SUSE-SU-2024:0604-1 |
| SUSE | Linux Micro 6.0 | openssh | 9.6p1-2.1 | SUSE-SU-2025:20009-1 |
| openSUSE | Leap 15.5 | openssh, openssh-askpass-gnome | 8.4p1-150300.3.30.1 | SUSE-SU-2024:0596-1 |
| openSUSE | Leap 15.6 | openssh, openssh-askpass-gnome | 9.6p1-150600.6.6.1 | SUSE-SU-2024:2393-1 |
| openSUSE | Leap Micro 5.3, Leap Micro 5.4 | openssh | 8.4p1-150300.3.30.1 | SUSE-SU-2024:0596-1 |
| openSUSE | Tumbleweed | openssh | 9.6p1-11.1 | openSUSE-SU-2024:14113-1 |
| AlmaLinux | 8 | openssh, openssh-cavs, openssh-ldap and 4 more | 8.0p1-19.el8_9.2 | ALSA-2024:0606 |
| AlmaLinux | 8 | pam_ssh_agent_auth | 0.10.3-7.19.el8_9.2 | ALSA-2024:0606 |
| AlmaLinux | 9 | openssh, openssh-keycat, openssh-server and 2 more | 8.7p1-34.el9_3.3 | ALSA-2024:1130 |
| AlmaLinux | 9 | pam_ssh_agent_auth | 0.10.4-5.34.el9_3.3 | ALSA-2024:1130 |
| Rocky Linux | 8 | openssh | 0:8.0p1-19.el8_9.2 | RLSA-2024:0606 |
| Alpine | v3.16 | openssh | 9.0_p1-r5 | ALPINE-CVE-2023-51385 |
| Alpine | v3.17 | openssh | 9.1_p1-r5 | ALPINE-CVE-2023-51385 |
| Alpine | v3.19, v3.20, v3.21 and 3 more | openssh | 9.6_p1-r0 | ALPINE-CVE-2023-51385 |
| Azure Linux | 2 | openssh | 8.9p1-3 | AZL-32203 |
| Azure Linux | 3 | openssh | 9.7p1-1 | AZL-35082 |
| Alpaquita | 23 | openssh | 9.1_p1-r7 | BELL-CVE-2023-51385 |
| Alpaquita | stream | openssh | 9.6_p1-r0 | BELL-CVE-2023-51385 |
| BellSoft Hardened Containers | 23 | openssh | 9.1_p1-r7 | BELL-CVE-2023-51385 |
| BellSoft Hardened Containers | stream | openssh | 9.6_p1-r0 | BELL-CVE-2023-51385 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.
Red Hat rates this Moderate.
The ability to execute OS commands is dependent on what quoting is present in the user-supplied ssh_config directive. However, it is generally the user's responsibility to validate arguments passed to SSH.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | openssh-0:8.0p1-19.el8_9.2 | Fixed 2024-01-30 | RHSA-2024:0606 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | openssh-0:8.0p1-7.el8_4.2 | Fixed 2026-06-01 | RHSA-2026:22329 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | openssh-0:8.0p1-7.el8_4.2 | Fixed 2026-06-01 | RHSA-2026:22329 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | openssh-0:8.0p1-15.el8_6.3 | Fixed 2024-01-25 | RHSA-2024:0429 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | openssh-0:8.0p1-19.el8_8.2 | Fixed 2024-01-30 | RHSA-2024:0594 |
| Red Hat Enterprise Linux 9 | openssh-0:8.7p1-34.el9_3.3 | Fixed 2024-03-05 | RHSA-2024:1130 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | openssh-0:8.7p1-13.el9_0.1 | Fixed 2026-02-03 | RHSA-2026:1790 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | openssh-0:8.7p1-30.el9_2.3 | Fixed 2024-01-25 | RHSA-2024:0455 |
| RHODF-4.15-RHEL-9 | odf4/cephcsi-rhel9:v4.15.0-37 | Fixed 2024-03-19 | RHSA-2024:1383 |
| RHODF-4.15-RHEL-9 | odf4/mcg-core-rhel9:v4.15.0-68 | Fixed 2024-03-19 | RHSA-2024:1383 |
| RHODF-4.15-RHEL-9 | odf4/mcg-operator-bundle:v4.15.0-158 | Fixed 2024-03-19 | RHSA-2024:1383 |
| RHODF-4.15-RHEL-9 | odf4/mcg-rhel9-operator:v4.15.0-39 | Fixed 2024-03-19 | RHSA-2024:1383 |
| RHODF-4.15-RHEL-9 | odf4/ocs-client-console-rhel9:v4.15.0-58 | Fixed 2024-03-19 | RHSA-2024:1383 |
| RHODF-4.15-RHEL-9 | odf4/ocs-client-operator-bundle:v4.15.0-158 | Fixed 2024-03-19 | RHSA-2024:1383 |
| RHODF-4.15-RHEL-9 | odf4/ocs-client-rhel9-operator:v4.15.0-13 | Fixed 2024-03-19 | RHSA-2024:1383 |
| RHODF-4.15-RHEL-9 | odf4/ocs-metrics-exporter-rhel9:v4.15.0-81 | Fixed 2024-03-19 | RHSA-2024:1383 |
| RHODF-4.15-RHEL-9 | odf4/ocs-operator-bundle:v4.15.0-158 | Fixed 2024-03-19 | RHSA-2024:1383 |
| RHODF-4.15-RHEL-9 | odf4/ocs-rhel9-operator:v4.15.0-79 | Fixed 2024-03-19 | RHSA-2024:1383 |
| Red Hat Enterprise Linux 6 | openssh | Out of support scope | |
| Red Hat Enterprise Linux 7 | openssh | Out of support scope | |
| 16 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-51385.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-25-162-05 | Siemens SIMATIC S7-1500 CPU family | 2025-06-10 | Energy | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more | none listed |
| ICSA-25-044-09 | Siemens SCALANCE W700 IEEE 802.11ax | 2025-02-11 | Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater Systems | SCALANCE WAB762-1 (6GK5762-1AJ00-6AA0), SCALANCE WAM763-1 (6GK5763-1AL00-7DA0), SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) and 16 more | none listed |
| ICSA-23-166-11 | Siemens SIMATIC S7-1500 TM MFP Linux Kernel | 2023-06-13 | Multiple | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.