CVE-2017-15906 json
The process_open function in sftp-server.c in OpenSSH before 7.6 does not properly prevent write operations in readonly mode, which allows…
published 2017-10-26 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-7325
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.4%
- EPSS 3.4% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
The process_open function in sftp-server.c in OpenSSH before 7.6 does not properly prevent write operations in readonly mode, which allows attackers to create zero-length files.
Patch / fix
- openbsd openssh 7.6
- openssh Debian 14, Debian 13, Debian 12 1:7.6p1-1
debian advisories DEBIAN-CVE-2017-15906
- openssh Ubuntu 14.04 LTS 1:6.6p1-2ubuntu2.10
- openssh Ubuntu 16.04 LTS 1:7.2p2-4ubuntu2.4
- openssh Ubuntu 18.04 LTS 1:7.6p1-4
ubuntu advisories UBUNTU-CVE-2017-15906
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- openssh RHEL 7 7.4p1-16.el7
- openssh-cavs RHEL 7 7.4p1-16.el7
- openssh-ldap RHEL 7 7.4p1-16.el7
- openssh-keycat RHEL 7 7.4p1-16.el7
- openssh-server RHEL 7 7.4p1-16.el7
- openssh-askpass RHEL 7 7.4p1-16.el7
- openssh-clients RHEL 7 7.4p1-16.el7
- pam_ssh_agent_auth RHEL 7 0.10.3-2.16.el7
red hat advisories RHSA-2018:0980
- openssh SLES 11 SP3-TERADATA, SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 6.2p2-0.41.5.1
- openssh-askpass-gnome SLES 11 SP3-TERADATA, SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 6.2p2-0.41.5.1
- openssh-openssl1 SLES 11-SECURITY 6.6p1-19.3.1
- openssh SLES for SAP 11 SP4, SLES 11 SP4 6.6p1-36.3.1
- openssh-askpass-gnome SLES for SAP 11 SP4, SLES 11 SP4 6.6p1-36.3.1
- openssh SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +4 more 7.2p2-74.11.1
- openssh-askpass-gnome SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +4 more 7.2p2-74.11.3
- openssh SLES for SAP 12 SP1, SLES 12-LTSS, SLES 12 SP1-LTSS 6.6p1-54.15.2
suse advisories SUSE-SU-2018:3540-1SUSE-SU-2018:2719-1SUSE-SU-2018:2685-1SUSE-SU-2018:2275-1SUSE-SU-2017:3230-1
- openssh Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 7.5_p1-r8
- openssh Alpine 3.4 7.2_p1-r2
- openssh Alpine 3.5 7.4_p1-r1
- openssh Alpine 3.6 7.5_p1-r2
- openssh Alpine 3.7 7.5_p1-r0
alpine advisories ALPINE-CVE-2017-15906
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-15906 updated cvss 4.3
openssh: Improper write operations in readonly mode allow for zero-length file creation
-
Red Hat Enterprise Linux Client (v. 7) openssh 7.4p1-16.el7, openssh-keycat 7.4p1-16.el7, openssh-server 7.4p1-16.el7, openssh-askpass 7.4p1-16.el7, openssh-clients 7.4p1-16.el7 Red Hat Enterprise Linux Client Optional (v. 7) openssh-cavs 7.4p1-16.el7, openssh-ldap 7.4p1-16.el7, pam_ssh_agent_auth 0.10.3-2.16.el7, openssh-server-sysvinit 7.4p1-16.el7 Red Hat Enterprise Linux ComputeNode (v. 7) openssh 7.4p1-16.el7, openssh-keycat 7.4p1-16.el7, openssh-server 7.4p1-16.el7, openssh-clients 7.4p1-16.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) openssh-cavs 7.4p1-16.el7, openssh-ldap 7.4p1-16.el7, openssh-askpass 7.4p1-16.el7, pam_ssh_agent_auth 0.10.3-2.16.el7, openssh-server-sysvinit 7.4p1-16.el7 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) openssh 7.4p1-16.el7, openssh-keycat 7.4p1-16.el7, openssh-server 7.4p1-16.el7, openssh-askpass 7.4p1-16.el7, openssh-clients 7.4p1-16.el7 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) openssh-cavs 7.4p1-16.el7, openssh-ldap 7.4p1-16.el7, pam_ssh_agent_auth 0.10.3-2.16.el7, openssh-server-sysvinit 7.4p1-16.el7fixed: vendor fix RHSA-2018:0980
+4 more productsfewer
Red Hat Enterprise Linux Server (v. 7) openssh 7.4p1-16.el7, openssh-keycat 7.4p1-16.el7, openssh-server 7.4p1-16.el7, openssh-askpass 7.4p1-16.el7, openssh-clients 7.4p1-16.el7 Red Hat Enterprise Linux Server Optional (v. 7) openssh-cavs 7.4p1-16.el7, openssh-ldap 7.4p1-16.el7, pam_ssh_agent_auth 0.10.3-2.16.el7, openssh-server-sysvinit 7.4p1-16.el7 Red Hat Enterprise Linux Workstation (v. 7) openssh 7.4p1-16.el7, openssh-keycat 7.4p1-16.el7, openssh-server 7.4p1-16.el7, openssh-askpass 7.4p1-16.el7, openssh-clients 7.4p1-16.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) openssh-cavs 7.4p1-16.el7, openssh-ldap 7.4p1-16.el7, pam_ssh_agent_auth 0.10.3-2.16.el7, openssh-server-sysvinit 7.4p1-16.el7 -
Red Hat Enterprise Linux 5 openssh Red Hat Enterprise Linux 6 openssh, openssh-ldap, openssh-server, openssh-askpass, openssh-clients, pam_ssh_agent_authnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-22-349-21 updated cvss 5.3
Siemens SCALANCE X-200RNA Switch Devices
-
Siemens SCALANCE X204RNA (HSR) (6GK5204-0BA00-2MB2) <V3.2.7 Siemens SCALANCE X204RNA (PRP) (6GK5204-0BA00-2KB2) <V3.2.7 Siemens SCALANCE X204RNA EEC (HSR) (6GK5204-0BS00-2NA3) <V3.2.7 Siemens SCALANCE X204RNA EEC (PRP) (6GK5204-0BS00-3LA3) <V3.2.7 Siemens SCALANCE X204RNA EEC (PRP/HSR) (6GK5204-0BS00-3PA3) <V3.2.7affected: fixed in V3.2.7, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-19-155-01 updated cvss 5.3
PHOENIX CONTACT PLCNext AXC F 2152
-
Phoenix Contact AXC F 2152 2404267 version 1.x, 1046568 (Starterkit) version 1.xaffected: vendor fix, mitigation “Phoenix Contact recommends affected users update to firmware release 2019.0 LTS or later, update to PLCNext Engineer release 2019.0 LTS or later, and apply the following specific mitigations below:” phoenixcontact.com
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
3.36% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
- Weakness
-
- CWE-732 Incorrect Permission Assignment for Critical Resource
References
-
github.com
/openbsd/src/commit/a6981567e8e215acc1ef690c8dbb30f2d9b00a19
third-party-advisory
-
security.gentoo.org
/glsa/201801-05
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:0980
vendor-advisory, third-party-advisory
-
openssh.com
/txt/release-7.6
release-notes, vendor-advisory
-
securityfocus.com
/bid/101552
vdb-entry, third-party-advisory
-
security.netapp.com
/advisory/ntap-20180423-0004/
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/09/msg00010.html
mailing-list, third-party-advisory
-
oracle.com
/security-alerts/cpujan2020.html
third-party-advisory
- cert-portal.siemens.com /productcert/pdf/ssa-412672.pdf
Sources
- CVE List CVE-2017-15906
- NVD CVE-2017-15906
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.