Improper input validation in Apache Subversion
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 6 fixed, 2 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat.
Summary
A maliciously constructed svn+ssh:// URL would cause Subversion clients before 1.8.19, 1.9.x before 1.9.7, and 1.10.0.x through 1.10.0-alpha3 to run an arbitrary shell command. Such a URL could be generated by a malicious server, by a malicious user committing to a honest server (to attack another user of that server's repositories), or by a proxy server. The vulnerability affects all clients, including those that use file://, http://, and plain (untunneled) svn://.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Subversion | 1.0.0 to 1.8.18; 1.9.0 to 1.9.6 | — | No fix listed | CNA |
- Apache Subversion VendorApache Affected 1.0.0 to 1.8.18; 1.9.0 to 1.9.6 Fixed in — No fix listed CNA
CPE configurations NVD · 12
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:subversion:*:*:*:*:*:*:*:* | up to 1.8.18 | Vulnerable | Apache |
| cpe:2.3:a:apache:subversion:1.9.0:*:*:*:*:*:*:* | 1.9.0 | Vulnerable | Apache |
| cpe:2.3:a:apache:subversion:1.9.1:*:*:*:*:*:*:* | 1.9.1 | Vulnerable | Apache |
| cpe:2.3:a:apache:subversion:1.9.2:*:*:*:*:*:*:* | 1.9.2 | Vulnerable | Apache |
| cpe:2.3:a:apache:subversion:1.9.3:*:*:*:*:*:*:* | 1.9.3 | Vulnerable | Apache |
| cpe:2.3:a:apache:subversion:1.9.4:*:*:*:*:*:*:* | 1.9.4 | Vulnerable | Apache |
| cpe:2.3:a:apache:subversion:1.9.5:*:*:*:*:*:*:* | 1.9.5 | Vulnerable | Apache |
| cpe:2.3:a:apache:subversion:1.9.6:*:*:*:*:*:*:* | 1.9.6 | Vulnerable | Apache |
| cpe:2.3:a:apache:subversion:1.10.0:*:*:*:*:*:*:* | 1.10.0 | Vulnerable | Apache |
| cpe:2.3:a:apache:subversion:1.10.0:alpha1:*:*:*:*:*:* | 1.10.0 alpha1 | Vulnerable | Apache |
- cpe:2.3:a:apache:subversion:*:*:*:*:*:*:*:* Versions up to 1.8.18 Vulnerable ·Apache
- cpe:2.3:a:apache:subversion:1.9.0:*:*:*:*:*:*:* Versions 1.9.0 Vulnerable ·Apache
- cpe:2.3:a:apache:subversion:1.9.1:*:*:*:*:*:*:* Versions 1.9.1 Vulnerable ·Apache
- cpe:2.3:a:apache:subversion:1.9.2:*:*:*:*:*:*:* Versions 1.9.2 Vulnerable ·Apache
- cpe:2.3:a:apache:subversion:1.9.3:*:*:*:*:*:*:* Versions 1.9.3 Vulnerable ·Apache
- cpe:2.3:a:apache:subversion:1.9.4:*:*:*:*:*:*:* Versions 1.9.4 Vulnerable ·Apache
- cpe:2.3:a:apache:subversion:1.9.5:*:*:*:*:*:*:* Versions 1.9.5 Vulnerable ·Apache
- cpe:2.3:a:apache:subversion:1.9.6:*:*:*:*:*:*:* Versions 1.9.6 Vulnerable ·Apache
- cpe:2.3:a:apache:subversion:1.10.0:*:*:*:*:*:*:* Versions 1.10.0 Vulnerable ·Apache
- cpe:2.3:a:apache:subversion:1.10.0:alpha1:*:*:*:*:*:* Versions 1.10.0 alpha1 Vulnerable ·Apache
Remediation
Red Hat 1 advisory
- RHSA-2017:2480 Released 2017-08-15 · Red Hat rating Importantsubversion security update
- Red Hat Enterprise Linux Client Optional (v. 7) mod_dav_svn-1.7.14-11.el7_4, subversion-1.7.14-11.el7_4, subversion-devel-1.7.14-11.el7_4 +8
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) mod_dav_svn-1.7.14-11.el7_4, subversion-1.7.14-11.el7_4, subversion-devel-1.7.14-11.el7_4 +8
- Red Hat Enterprise Linux Server (v. 7) mod_dav_svn-1.7.14-11.el7_4, subversion-1.7.14-11.el7_4, subversion-1.7.14-11.el7_4.ppc +4
- Red Hat Enterprise Linux Server Optional (v. 7) subversion-devel-1.7.14-11.el7_4, subversion-devel-1.7.14-11.el7_4.ppc, subversion-javahl-1.7.14-11.el7_4 +9
- Red Hat Enterprise Linux Workstation (v. 7) mod_dav_svn-1.7.14-11.el7_4, subversion-1.7.14-11.el7_4, subversion-gnome-1.7.14-11.el7_4 +1
- Red Hat Enterprise Linux Workstation Optional (v. 7) subversion-devel-1.7.14-11.el7_4, subversion-javahl-1.7.14-11.el7_4, subversion-kde-1.7.14-11.el7_4 +4
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2017:2480 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2017:2480 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2017:2480 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2017:2480 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2017:2480 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2017:2480 |
Timeline
- 2026-10-02 Threatist record created from CVE-2017-9800
- 2026-10-03 Alias added: GHSA-34wf-vr8w-7xh4
References
Advisory 4
Other 6
- [announce] 20170810 [SECURITY][ANNOUNCE] Apache Subversion 1.9.7 released
- [subversion-commits] 20190830 svn commit: r1866117 - in /subversion/site/publish/docs/community-guide: how-to-roll-releases-in-private.txt issues.part.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2017-08-11-933099891.html
- https://support.apple.com/HT208103
- http://packetstormsecurity.com/files/143722/Apache-Subversion-Arbitrary-Code-Execution.html
More Apache Subversion vulnerabilities
- TI-2015-04418 Integer overflow in the read_string function in libsvn_ra_svn/marshal.c in Apache… CVSS 3.0HIGH 8.6
- TI-2018-08457 Subversion's mod_dav_svn Apache HTTPD module versions 1.11.0 and 1.10.0 to 1.10.3 will… CVSS 3.1HIGH 7.5
- TI-2020-13273 Remote unauthenticated denial-of-service in Subversion mod_authz_svn CVSS 3.1HIGH 7.5
- TI-2015-04497 Integer overflow in util.c in mod_dav_svn in Apache Subversion 1.7.x, 1.8.x before… CVSS 3.0HIGH 7.6
- TI-2013-01858 contrib/hook-scripts/svn-keyword-check.pl in Subversion before 1.6.23 allows remote… CVSS 2.0HIGH 7.1
- TI-2013-01661 The mod_dav_svn Apache HTTPD server module in Subversion 1.7.0 through 1.7.8 allows… CVSS 2.0MEDIUM 5.0
Sources
- CVE-2017-9800 · CVE Program
- CVE-2017-9800 · NVD
- FIRST EPSS
- GHSA-34wf-vr8w-7xh4 · GitHub Advisory Database · CC BY 4.0
- CVE-2017-9800 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences