Skip to content
Noroxi
CVE-2023-51385· NVD / CVE Program· CNA mitre

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 refere

Noroxi assessment

Priority: Monitor (action score 32/100)

  • Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 19.7% (FIRST EPSS); higher than 97.3% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • According to CISA the attack is automatable: targets can be found by mass scanning.
  • Fixed version: openssh (AlmaLinux:8) 8.0p1-19.el8_9.2; openssh-askpass (AlmaLinux:8) 8.0p1-19.el8_9.2; openssh-cavs (AlmaLinux:8) 8.0p1-19.el8_9.2.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to openssh (AlmaLinux:8) 8.0p1-19.el8_9.2; openssh-askpass (AlmaLinux:8) 8.0p1-19.el8_9.2; openssh-cavs (AlmaLinux:8) 8.0p1-19.el8_9.2 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

MediumCVSS 6.5 · v3.1—Proof of concept Fix available
Published
Dec 18, 2023
Updated
Oct 15, 2026
EPSS
19.7% · 97th percentile

Report tools

JSON

Action score

32

Monitor

Low priority for now.

CVSS
26 / 40 · 6.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
6 / 30 · 19.7%

CISA SSVC decision

Exploitation
proof of concept
Automatable
yes
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
6.5
CNA · mitre
6.5
agree

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2023-51385

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
openbsdopenssh
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • debian debian linux11.0
  • debian debian linux12.0
  • openbsd opensshbefore 9.6

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8opensshbefore 8.0p1-19.el8_9.28.0p1-19.el8_9.2
AlmaLinux:8openssh-askpassbefore 8.0p1-19.el8_9.28.0p1-19.el8_9.2
AlmaLinux:8openssh-cavsbefore 8.0p1-19.el8_9.28.0p1-19.el8_9.2
AlmaLinux:8openssh-clientsbefore 8.0p1-19.el8_9.28.0p1-19.el8_9.2
AlmaLinux:8openssh-keycatbefore 8.0p1-19.el8_9.28.0p1-19.el8_9.2
AlmaLinux:8openssh-ldapbefore 8.0p1-19.el8_9.28.0p1-19.el8_9.2
AlmaLinux:8openssh-serverbefore 8.0p1-19.el8_9.28.0p1-19.el8_9.2
AlmaLinux:8pam_ssh_agent_authbefore 0.10.3-7.19.el8_9.20.10.3-7.19.el8_9.2
AlmaLinux:9opensshbefore 8.7p1-34.el9_3.38.7p1-34.el9_3.3
AlmaLinux:9openssh-askpassbefore 8.7p1-34.el9_3.38.7p1-34.el9_3.3
AlmaLinux:9openssh-clientsbefore 8.7p1-34.el9_3.38.7p1-34.el9_3.3
AlmaLinux:9openssh-keycatbefore 8.7p1-34.el9_3.38.7p1-34.el9_3.3
AlmaLinux:9openssh-serverbefore 8.7p1-34.el9_3.38.7p1-34.el9_3.3
AlmaLinux:9pam_ssh_agent_authbefore 0.10.4-5.34.el9_3.30.10.4-5.34.el9_3.3
Alpine:v3.16opensshbefore 9.0_p1-r59.0_p1-r5
Alpine:v3.17opensshbefore 9.1_p1-r59.1_p1-r5
Alpine:v3.19opensshbefore 9.6_p1-r09.6_p1-r0
Debian:10opensshbefore 1:7.9p1-10+deb10u41:7.9p1-10+deb10u4
Debian:11opensshbefore 1:8.4p1-5+deb11u31:8.4p1-5+deb11u3
Debian:12opensshbefore 1:9.2p1-2+deb12u21:9.2p1-2+deb12u2
Debian:13opensshbefore 1:9.6p1-11:9.6p1-1
openSUSE:Tumbleweedopensshbefore 9.6p1-11.19.6p1-11.1
Red Hat:enterprise_linux:8::appstreamopenssh-askpassbefore 0:8.0p1-19.el8_9.20:8.0p1-19.el8_9.2
Red Hat:enterprise_linux:8::appstreamopenssh-askpass-debuginfobefore 0:8.0p1-19.el8_9.20:8.0p1-19.el8_9.2

+96

Other highest-scoring records for the same primary product.

  • CVE-2023-38408The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remote code execution if
    63This week
  • CVE-2023-25136OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling.
    53Plan
  • CVE-2018-15473OpenSSH through 7.7 is prone to a user enumeration vulnerability due to not delaying bailout for an invalid authenticating user until after
    51Plan
  • CVE-2016-6210sshd in OpenSSH before 7.3, when SHA256 or SHA512 are used for user password hashing, uses BLOWFISH hashing on a static password when the us
    50Plan
  • CVE-2016-6515The auth_password function in auth-passwd.c in sshd in OpenSSH before 7.3 does not limit password lengths for password authentication, which
    48Plan
  • CVE-2002-0640Buffer overflow in sshd in OpenSSH 2.3.1 through 3.3 may allow remote attackers to execute arbitrary code via a large number of responses du
    48Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:openssh8.0p1-19.el8_9.2 · AlmaLinux:8Package registry (OSV)
almalinux:openssh-askpass8.0p1-19.el8_9.2 · AlmaLinux:8Package registry (OSV)
almalinux:openssh-cavs8.0p1-19.el8_9.2 · AlmaLinux:8Package registry (OSV)
almalinux:openssh-clients8.0p1-19.el8_9.2 · AlmaLinux:8Package registry (OSV)
almalinux:openssh-keycat8.0p1-19.el8_9.2 · AlmaLinux:8Package registry (OSV)
almalinux:openssh-ldap8.0p1-19.el8_9.2 · AlmaLinux:8Package registry (OSV)
almalinux:openssh-server8.0p1-19.el8_9.2 · AlmaLinux:8Package registry (OSV)
almalinux:pam_ssh_agent_auth0.10.3-7.19.el8_9.2 · AlmaLinux:8Package registry (OSV)
alpine:openssh9.0_p1-r5 · Alpine:v3.16Package registry (OSV)
debian:openssh1:9.2p1-2+deb12u2 · Debian:12Package registry (OSV)
opensuse:openssh8.4p1-150300.3.30.1 · openSUSE:Leap Micro 5.3Package registry (OSV)
opensuse:openssh-askpass-gnome8.4p1-150300.3.30.1 · openSUSE:Leap 15.5Package registry (OSV)
red hat:openssh0:8.0p1-15.el8_6.3 · Red Hat:rhel_eus:8.6::baseosPackage registry (OSV)
red hat:openssh-askpass0:8.0p1-15.el8_6.3 · Red Hat:rhel_eus:8.6::appstreamPackage registry (OSV)
red hat:openssh-askpass-debuginfo0:8.0p1-15.el8_6.3 · Red Hat:rhel_eus:8.6::appstreamPackage registry (OSV)
red hat:openssh-cavs0:8.0p1-15.el8_6.3 · Red Hat:rhel_eus:8.6::baseosPackage registry (OSV)
red hat:openssh-cavs-debuginfo0:8.0p1-15.el8_6.3 · Red Hat:rhel_eus:8.6::appstreamPackage registry (OSV)
red hat:openssh-clients-debuginfo0:8.0p1-15.el8_6.3 · Red Hat:rhel_eus:8.6::appstreamPackage registry (OSV)
red hat:openssh-debuginfo0:8.0p1-15.el8_6.3 · Red Hat:rhel_eus:8.6::appstreamPackage registry (OSV)
red hat:openssh-debugsource0:8.0p1-15.el8_6.3 · Red Hat:rhel_eus:8.6::appstreamPackage registry (OSV)
red hat:openssh-keycat-debuginfo0:8.0p1-15.el8_6.3 · Red Hat:rhel_eus:8.6::appstreamPackage registry (OSV)
red hat:openssh-ldap-debuginfo0:8.0p1-15.el8_6.3 · Red Hat:rhel_eus:8.6::appstreamPackage registry (OSV)
red hat:openssh-server-debuginfo0:8.0p1-15.el8_6.3 · Red Hat:rhel_eus:8.6::appstreamPackage registry (OSV)
red hat:pam_ssh_agent_auth-debuginfo0:0.10.3-7.15.el8_6.3 · Red Hat:rhel_eus:8.6::appstreamPackage registry (OSV)
rocky linux:openssh0:8.0p1-19.el8_9.2 · Rocky Linux:8Package registry (OSV)
suse:openssh8.4p1-150300.3.30.1 · SUSE:Linux Enterprise Micro 5.3Package registry (OSV)
suse:openssh-askpass-gnome8.4p1-150300.3.30.1 · SUSE:Linux Enterprise Module for Desktop Applications 15 SP5Package registry (OSV)
suse:openssh-testuser0-81.12.1 · SUSE:Linux Enterprise Software Development Kit 12 SP5Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×23

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:502023-09-28
Proof-of-concept repository on GitHubstars:02023-12-25
Proof-of-concept repository on GitHubstars:02023-12-25
Proof-of-concept repository on GitHubstars:52023-12-25
Proof-of-concept repository on GitHubstars:72023-12-25
Proof-of-concept repository on GitHubstars:02023-12-26
Proof-of-concept repository on GitHubstars:02023-12-30
Proof-of-concept repository on GitHubstars:22024-01-02
Proof-of-concept repository on GitHubstars:02024-01-03
Proof-of-concept repository on GitHubstars:02024-01-03
Proof-of-concept repository on GitHubstars:02024-01-09
Proof-of-concept repository on GitHubstars:02024-01-20

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-82 d
  2. Published
  3. TodayOct 17, 2026+1034 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
low · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
Low
Integrity impact
Low
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

nvd-primary

Root cause

User input is inserted as text into a shell command. The shell may interpret special characters in the input as part of the command.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const host = req.body.host;exec("ping -c 1 " + host, onResult);

Fixed

ts
const host = req.body.host;if (!/^[a-z0-9.-]{1,253}$/i.test(host)) return res.sendStatus(400);execFile("ping", ["-c", "1", host], onResult);

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records