The process_open function in sftp-server.c in OpenSSH before 7.6 does not properly prevent write operations in readonly mode, which allows a
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.
- Published
- Oct 25, 2017
- Updated
- Jun 16, 2026
- EPSS
- 3.4% · 88th percentile
- CWE
- CWE-732
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 21 / 40 · 5.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.4%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| openbsd | openssh | cpe:2.3:a:openbsd:openssh |
| oracle | sun zfs storage appliance kit | cpe:2.3:a:oracle:sun_zfs_storage_appliance_kit |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| netapp | active iq unified manager | cpe:2.3:a:netapp:active_iq_unified_manager |
| netapp | cloud backup | cpe:2.3:a:netapp:cloud_backup |
| netapp | clustered data ontap | cpe:2.3:a:netapp:clustered_data_ontap |
| netapp | data ontap edge | cpe:2.3:a:netapp:data_ontap_edge |
| netapp | hci management node | cpe:2.3:a:netapp:hci_management_node |
| netapp | oncommand unified manager core package | cpe:2.3:a:netapp:oncommand_unified_manager_core_package |
| netapp | solidfire | cpe:2.3:a:netapp:solidfire |
| netapp | steelstore cloud integrated storage | cpe:2.3:a:netapp:steelstore_cloud_integrated_storage |
| netapp | storage replication adapter for clustered data ontap | cpe:2.3:a:netapp:storage_replication_adapter_for_clustered_data_ontap |
and 10 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux8.0
- netapp active iq unified managerall versions
- netapp cloud backupall versions
- netapp clustered data ontapall versions
- netapp cn1610 firmwareall versions
- netapp data ontap edgeall versions
- netapp hci management nodeall versions
- netapp oncommand unified manager core packageall versions
- netapp solidfireall versions
- netapp steelstore cloud integrated storageall versions
- netapp storage replication adapter for clustered data ontap9.7 and later
- netapp storage replication adapter for clustered data ontap9.6
- netapp vasa provider for clustered data ontap6.0 and later · up to 6.2 inclusive
- netapp vasa provider for clustered data ontap9.7 and later
- netapp virtual storage console9.7 and later
- netapp virtual storage console9.6
- openbsd opensshbefore 7.6
- oracle sun zfs storage appliance kit8.8.6
- redhat enterprise linux desktop7.0
- redhat enterprise linux eus7.6
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 | openssh | before 7.5_p1-r8 | 7.5_p1-r8 |
| Alpine:v3.4 | openssh | before 7.2_p1-r2 | 7.2_p1-r2 |
| Alpine:v3.5 | openssh | before 7.4_p1-r1 | 7.4_p1-r1 |
| Alpine:v3.6 | openssh | before 7.5_p1-r2 | 7.5_p1-r2 |
| Alpine:v3.7 | openssh | before 7.5_p1-r0 | 7.5_p1-r0 |
| Debian:12 | openssh | before 1:7.6p1-1 | 1:7.6p1-1 |
| Debian:8 | openssh | before 1:6.7p1-5+deb8u6 | 1:6.7p1-5+deb8u6 |
| Red Hat:enterprise_linux:7::client | openssh | before 0:7.4p1-16.el7 | 0:7.4p1-16.el7 |
| Red Hat:enterprise_linux:7::client | openssh-askpass | before 0:7.4p1-16.el7 | 0:7.4p1-16.el7 |
| Red Hat:enterprise_linux:7::client | openssh-cavs | before 0:7.4p1-16.el7 | 0:7.4p1-16.el7 |
| Red Hat:enterprise_linux:7::client | openssh-clients | before 0:7.4p1-16.el7 | 0:7.4p1-16.el7 |
| Red Hat:enterprise_linux:7::client | openssh-debuginfo | before 0:7.4p1-16.el7 | 0:7.4p1-16.el7 |
| Red Hat:enterprise_linux:7::client | openssh-keycat | before 0:7.4p1-16.el7 | 0:7.4p1-16.el7 |
| Red Hat:enterprise_linux:7::client | openssh-ldap | before 0:7.4p1-16.el7 | 0:7.4p1-16.el7 |
| Red Hat:enterprise_linux:7::client | openssh-server | before 0:7.4p1-16.el7 | 0:7.4p1-16.el7 |
| Red Hat:enterprise_linux:7::client | openssh-server-sysvinit | before 0:7.4p1-16.el7 | 0:7.4p1-16.el7 |
| Red Hat:enterprise_linux:7::client | pam_ssh_agent_auth | before 0:0.10.3-2.16.el7 | 0:0.10.3-2.16.el7 |
| SUSE:Linux Enterprise Desktop 12 SP2 | openssh | before 7.2p2-74.11.1 | 7.2p2-74.11.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | openssh-askpass-gnome | before 7.2p2-74.11.3 | 7.2p2-74.11.3 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | openssh | before 6.2p2-0.41.5.1 | 6.2p2-0.41.5.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | openssh-askpass-gnome | before 6.2p2-0.41.5.1 | 6.2p2-0.41.5.1 |
| SUSE:Linux Enterprise Server 11 SP4 | openssh | before 6.6p1-36.3.1 | 6.6p1-36.3.1 |
| SUSE:Linux Enterprise Server 11 SP4 | openssh-askpass-gnome | before 6.6p1-36.3.1 | 6.6p1-36.3.1 |
| SUSE:Linux Enterprise Server 11-SECURITY | openssh-openssl1 | before 6.6p1-19.3.1 | 6.6p1-19.3.1 |
+2
Same product
openbsd: all recordsOther 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 us50Plan
- 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, which48Plan
- 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 du48Plan
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:openssh | 7.5_p1-r8 · Alpine:v3.10 | Package registry (OSV) |
| debian:openssh | 1:7.6p1-1 · Debian:12 | Package registry (OSV) |
| red hat:openssh | 0:7.4p1-16.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssh-askpass | 0:7.4p1-16.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssh-cavs | 0:7.4p1-16.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssh-clients | 0:7.4p1-16.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssh-debuginfo | 0:7.4p1-16.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssh-keycat | 0:7.4p1-16.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssh-ldap | 0:7.4p1-16.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssh-server | 0:7.4p1-16.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openssh-server-sysvinit | 0:7.4p1-16.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:pam_ssh_agent_auth | 0:0.10.3-2.16.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:openssh | 7.2p2-74.11.1 · SUSE:Linux Enterprise Desktop 12 SP2 | Package registry (OSV) |
| suse:openssh-askpass-gnome | 7.2p2-74.11.3 · SUSE:Linux Enterprise Desktop 12 SP2 | Package registry (OSV) |
| suse:openssh-openssl1 | 6.6p1-19.3.1 · SUSE:Linux Enterprise Server 11-SECURITY | 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.
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.
Credits
All researchersFinders, 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).
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
- none
- 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
- None
- Integrity impact
- Low
- Availability impact
- None
Weakness class (CWE)
CWE-732 · Incorrect Permission Assignment for Critical ResourceCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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.
Attack patterns (CAPEC)
- Accessing Functionality Not Properly Constrained by ACLsCAPEC-1likelihood: High · High
- Privilege AbuseCAPEC-122likelihood: High · Medium
- Directory IndexingCAPEC-127likelihood: High · Medium
- Using Malicious FilesCAPEC-17likelihood: High · Very High
- Exploiting Incorrectly Configured Access Control Security LevelsCAPEC-180likelihood: High · Medium
- Signing Malicious CodeCAPEC-206Very High
- Hijacking a privileged processCAPEC-234Medium
- Reusing Session IDs (aka Session Replay)CAPEC-60likelihood: High · High
ATT&CK techniques
- File and Directory DiscoveryT1083
- Access Token Manipulation:Token Impersonation/TheftT1134.001
- Server Software Component: Terminal Services DLLT1505.005
- Abuse Elevation Control MechanismT1548
- Use Alternate Authentication Material:Web Session CookieT1550.004
- Subvert Trust Controls:Code SigningT1553.002
- Compromise Client Software BinaryT1554
- Hijack Execution Flow:Executable Installer File Permissions WeaknessT1574.005
- Hijack Execution Flow: ServicesFile Permissions WeaknessT1574.010
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- www.securityfocus.com/bid/101552
- access.redhat.com/errata/RHSA-2018:0980
- cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
- github.com/openbsd/src/commit/a6981567e8e215acc1ef690c8dbb30f2d9b00a19
- lists.debian.org/debian-lts-announce/2018/09/msg00010.html
- security.gentoo.org/glsa/201801-05
- security.netapp.com/advisory/ntap-20180423-0004/
- www.openssh.com/txt/release-7.6
- www.oracle.com/security-alerts/cpujan2020.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.