CVE-2018-20685: In OpenSSH 7.9, scp.c in the scp client allows remote SSH servers to bypass intended access restrictions via the filename of .
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 3.6% (FIRST EPSS); higher than 89.8% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. Special conditions such as timing or configuration are required.
- Fixed version: dropbear (Alpine:v3.10) 2019.78-r1; openssh (Alpine:v3.10) 7.9_p1-r3; dropbear (Alpine:v3.13) 2020.79-r0.
Low priority for now. Upgrade to dropbear (Alpine:v3.10) 2019.78-r1; openssh (Alpine:v3.10) 7.9_p1-r3; dropbear (Alpine:v3.13) 2020.79-r0 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 OpenSSH 7.9, scp.c in the scp client allows remote SSH servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side.
- Published
- Jan 10, 2019
- Updated
- Jun 16, 2026
- EPSS
- 3.6% · 89th percentile
- CWE
- CWE-863
Report tools
Action score
22
Low priority for now.
- CVSS
- 21 / 40 · 5.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.6%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is OpenSSH on your server exposed to the internet?Run a port scan
Is your version affected? Check itNoroxi 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 helpAffected 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.
| Vendor | Product | CPE |
|---|---|---|
| openbsd | openssh | cpe:2.3:a:openbsd:openssh |
| winscp | winscp | cpe:2.3:a:winscp:winscp |
| netapp | cloud backup | cpe:2.3:a:netapp:cloud_backup |
| netapp | element software | cpe:2.3:a:netapp:element_software |
| netapp | ontap select deploy | cpe:2.3:a:netapp:ontap_select_deploy |
| netapp | steelstore cloud integrated storage | cpe:2.3:a:netapp:steelstore_cloud_integrated_storage |
| netapp | storage automation store | cpe:2.3:a:netapp:storage_automation_store |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
and 18 more
Is OpenSSH on your server exposed to the internet?
The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.
Run a port scanAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux18.10
- debian debian linux8.0
- debian debian linux9.0
- fujitsu m10-1 firmwarebefore xcp3070
- fujitsu m10-1 firmwarebefore xcp2361
+12 more rows
- fujitsu m10-4 firmwarebefore xcp2361
- fujitsu m10-4 firmwarebefore xcp3070
- fujitsu m10-4s firmwarebefore xcp3070
- fujitsu m10-4s firmwarebefore xcp2361
- fujitsu m12-1 firmwarebefore xcp2361
- fujitsu m12-1 firmwarebefore xcp3070
- fujitsu m12-2 firmwarebefore xcp2361
- fujitsu m12-2 firmwarebefore xcp3070
- fujitsu m12-2s firmwarebefore xcp2361
- fujitsu m12-2s firmwarebefore xcp3070
- netapp cloud backupall versions
- netapp element softwareall versions
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | dropbear | before 2019.78-r1 | 2019.78-r1 |
| Alpine:v3.10 | openssh | before 7.9_p1-r3 | 7.9_p1-r3 |
| Alpine:v3.13 | dropbear | before 2020.79-r0 | 2020.79-r0 |
| Alpine:v3.6 | openssh | before 7.5_p1-r4 | 7.5_p1-r4 |
| Alpine:v3.7 | openssh | before 7.5_p1-r10 | 7.5_p1-r10 |
| Alpine:v3.8 | openssh | before 7.7_p1-r4 | 7.7_p1-r4 |
| Alpine:v3.9 | dropbear | before 2018.76-r3 | 2018.76-r3 |
| Debian:12 | openssh | before 1:7.9p1-5 | 1:7.9p1-5 |
| Debian:8 | openssh | before 1:6.7p1-5+deb8u8 | 1:6.7p1-5+deb8u8 |
| Debian:9 | openssh | before 1:7.4p1-10+deb9u5 | 1:7.4p1-10+deb9u5 |
| openSUSE:Leap 15.0 | openssh | before 7.6p1-lp150.8.9.1 | 7.6p1-lp150.8.9.1 |
| openSUSE:Tumbleweed | openssh | before 8.4p1-7.4 | 8.4p1-7.4 |
| Red Hat:enterprise_linux:8::appstream | openssh-askpass | before 0:8.0p1-3.el8 | 0:8.0p1-3.el8 |
| Red Hat:enterprise_linux:8::appstream | openssh-askpass-debuginfo | before 0:8.0p1-3.el8 | 0:8.0p1-3.el8 |
| Red Hat:enterprise_linux:8::appstream | openssh-cavs-debuginfo | before 0:8.0p1-3.el8 | 0:8.0p1-3.el8 |
| Red Hat:enterprise_linux:8::appstream | openssh-clients-debuginfo | before 0:8.0p1-3.el8 | 0:8.0p1-3.el8 |
| Red Hat:enterprise_linux:8::appstream | openssh-debuginfo | before 0:8.0p1-3.el8 | 0:8.0p1-3.el8 |
| Red Hat:enterprise_linux:8::appstream | openssh-debugsource | before 0:8.0p1-3.el8 | 0:8.0p1-3.el8 |
| Red Hat:enterprise_linux:8::appstream | openssh-keycat-debuginfo | before 0:8.0p1-3.el8 | 0:8.0p1-3.el8 |
| Red Hat:enterprise_linux:8::appstream | openssh-ldap-debuginfo | before 0:8.0p1-3.el8 | 0:8.0p1-3.el8 |
| Red Hat:enterprise_linux:8::appstream | openssh-server-debuginfo | before 0:8.0p1-3.el8 | 0:8.0p1-3.el8 |
| Red Hat:enterprise_linux:8::appstream | pam_ssh_agent_auth-debuginfo | before 0:0.10.3-7.3.el8 | 0:0.10.3-7.3.el8 |
| Red Hat:enterprise_linux:8::baseos | openssh | before 0:8.0p1-3.el8 | 0:8.0p1-3.el8 |
| Red Hat:enterprise_linux:8::baseos | openssh-cavs | before 0:8.0p1-3.el8 | 0:8.0p1-3.el8 |
+14
Same product
openbsd: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-123158sshd in OpenSSH before 10.6p2 on Linux, when musl libc is used without PAM, lacks a workaround for a password authentication bypass…KEV68This week
- 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-2018-15473OpenSSH through 7.7 is prone to a user enumeration vulnerability due to not delaying bailout for an invalid authenticating user until after…60This week
Published before and after this one in the same product
- ← EarlierCVE-2016-10708Jan 21, 2018 · sshd in OpenSSH before 7.4 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via an…35Monitor
- ← EarlierCVE-2018-15919Aug 28, 2018 · Remotely observable behaviour in auth-gss2.c in OpenSSH through 7.8 could be used by remote attackers to detect existence of users on a…22Monitor
- Later →CVE-2019-6109Jan 31, 2019 · An issue was discovered in OpenSSH 7.9.28Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:dropbear | 2019.78-r1 · Alpine:v3.10 | Package registry (OSV) |
| alpine:openssh | 7.9_p1-r3 · Alpine:v3.10 | Package registry (OSV) |
| debian:openssh | 1:7.9p1-5 · Debian:12 | Package registry (OSV) |
| opensuse:openssh | 7.6p1-lp150.8.9.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| red hat:openssh | 0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:openssh-askpass | 0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:openssh-askpass-debuginfo | 0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:openssh-cavs | 0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:openssh-cavs-debuginfo | 0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:openssh-clients-debuginfo | 0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:openssh-debuginfo | 0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:openssh-debugsource | 0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:openssh-keycat-debuginfo | 0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:openssh-ldap-debuginfo | 0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:openssh-server-debuginfo | 0:8.0p1-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:pam_ssh_agent_auth-debuginfo | 0:0.10.3-7.3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| rocky linux:openssh | 0:8.0p1-30.el8_10 · Rocky Linux:8 | Package registry (OSV) |
| suse:openssh | 6.6p1-54.26.1 · SUSE:Linux Enterprise Server 12-LTSS | Package registry (OSV) |
| suse:openssh-askpass-gnome | 6.6p1-54.26.1 · SUSE:Linux Enterprise Server 12-LTSS | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
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.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-863 · Incorrect AuthorizationCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (13 more)Show less
- access.redhat.com/errata/RHSA-2019:3702
- cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
- cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diff?r1=1.197&r2=1.198&f=h
- github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2
- lists.debian.org/debian-lts-announce/2019/03/msg00030.html
- security.gentoo.org/glsa/201903-16
- security.gentoo.org/glsa/202007-53
- security.netapp.com/advisory/ntap-20190215-0001/
- sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt
- usn.ubuntu.com/3885-1/
- www.debian.org/security/2019/dsa-4387
- www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.