synced 6 MIN AGO
01 Record

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 . or an empty filename. The impact is modifying the permissions of the

MediumPUBLISHEDCNA: mitre
CNA base score5.3 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

02 Description

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

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
3.68% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 89.2% of scored records. A rank, not a probability.
NVD base score
5.3 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2019-01-10 00:00Z7 YR AGO
Last updated
2025-12-17 21:53Z10 MO AGO
Reserved
2019-01-10
Assigning CNA
mitre
Record state
PUBLISHED
Severity
Medium (CVSS 5.3)
CNA CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Weaknesses
  • CWE-863Incorrect AuthorizationClass
  • CWE-20Improper Input ValidationClass
Data version
5.2
Document digest
03ea71caea98d93dbbb84c9a6061903fdfc2e24794fab7153288974d11582c0c

05 Affected products

VendorProductVersionsPlatforms
canonicalubuntu_linuxNot specified—
debiandebian_linuxNot specified—
fujitsum10-1Not specified—
fujitsum10-1_firmwareNot specified—
fujitsum10-4Not specified—
fujitsum10-4_firmwareNot specified—
fujitsum10-4sNot specified—
fujitsum10-4s_firmwareNot specified—
fujitsum12-1Not specified—
fujitsum12-1_firmwareNot specified—
fujitsum12-2Not specified—
fujitsum12-2_firmwareNot specified—
fujitsum12-2sNot specified—
fujitsum12-2s_firmwareNot specified—
netappcloud_backupNot specified—
netappelement_softwareNot specified—
netappontap_select_deployNot specified—
netappstorage_automation_storeNot specified—
openbsdopensshNot specified—
oraclesolarisNot specified—
redhatenterprise_linuxNot specified—
redhatenterprise_linux_eusNot specified—
redhatenterprise_linux_server_ausNot specified—
redhatenterprise_linux_server_tusNot specified—
siemensscalance_x204rnaNot specified—
siemensscalance_x204rna_eecNot specified—
siemensscalance_x204rna_eec_firmwareNot specified—
siemensscalance_x204rna_firmwareNot specified—
winscpwinscpNot specified—

06 References

07 Fixed in

Arch Linux

  • openssh
    Fixed in 8.0p1-1

Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.

Debian 12

  • openssh
    Fixed in 1:7.9p1-5

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • openssh
    Fixed in 1:7.9p1-5

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • openssh
    Fixed in 1:7.9p1-5

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 14.04 LTS

  • openssh
    Fixed in 1:6.6p1-2ubuntu2.12

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 16.04 LTS

  • openssh
    Fixed in 1:7.2p2-4ubuntu2.7

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • openssh
    Fixed in 1:7.6p1-4ubuntu0.2
  • openssh-ssh1
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • openssh-ssh1
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • openssh-ssh1
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • openssh-ssh1
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro FIPS-updates 16.04 LTS

  • openssh
    Fixed in 1:7.2p2-4ubuntu2.fips.2.8.1
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro FIPS 16.04 LTS

  • openssh
    Fixed in 1:7.2p2-4ubuntu2.fips.2.10.1
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.