Description
CVS 1.12.x, when configured to use SSH for remote repositories, might allow remote attackers to execute arbitrary code via a repository URL with a crafted hostname, as demonstrated by "-oProxyCommand=id;localhost:/bar."
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cvs | 2:1.12.13+real-24 | — |
| Debian 13 | cvs | 2:1.12.13+real-24 | — |
| Debian 12 | cvs | 2:1.12.13+real-24 | — |
| Debian 9 | cvs | 2:1.12.13+real-22+deb9u1 | DSA-3940-1 |
| Debian 8 | cvs | 2:1.12.13+real-15+deb8u1 | DSA-3940-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | cvs | 2:1.12.13+real-9+deb7u1 | DLA-1056-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | cvs | 2:1.12.13+real-15ubuntu0.1 | USN-3399-1 |
| Ubuntu 14.04 LTS | cvs | 2:1.12.13+real-12ubuntu0.1 | USN-3399-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | cvs | 1.12.12-182.3.1 | SUSE-SU-2017:2419-1 |
| SLES 12 SP2 | cvs | 1.12.12-182.3.1 | SUSE-SU-2017:2419-1 |
| SLES 11 SP4 | cvs | 1.12.12-144.23.5.3.1 | SUSE-SU-2017:2422-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | cvs | 1.12.12-182.3.1 | SUSE-SU-2017:2419-1 |
| SLES for SAP 12 SP2 | cvs | 1.12.12-182.3.1 | SUSE-SU-2017:2419-1 |
| SLES for SAP 11 SP4 | cvs | 1.12.12-144.23.5.3.1 | SUSE-SU-2017:2422-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cvs | 1.12.13-1.14 | openSUSE-SU-2024:10708-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | cvs | 1.12.12-r0 | — |
| Alpine v3.23 | cvs | 1.12.12-r0 | — |
| Alpine v3.22 | cvs | 1.12.12-r0 | — |
| Alpine v3.21 | cvs | 1.12.12-r0 | — |
| Alpine v3.20 | cvs | 1.12.12-r0 | — |
Show 12 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | cvs | 1.12.12-r0 | — |
| Alpine v3.18 | cvs | 1.12.12-r0 | — |
| Alpine v3.17 | cvs | 1.12.12-r0 | — |
| Alpine v3.16 | cvs | 1.12.12-r0 | — |
| Alpine v3.15 | cvs | 1.12.12-r0 | — |
| Alpine v3.14 | cvs | 1.12.12-r0 | — |
| Alpine v3.13 | cvs | 1.12.12-r0 | — |
| Alpine v3.12 | cvs | 1.12.12-r0 | — |
| Alpine v3.11 | cvs | 1.12.12-r0 | — |
| Alpine v3.10 | cvs | 1.12.12-r0 | — |
| Alpine v3.9 | cvs | 1.12.12-r0 | — |
| Alpine v3.8 | cvs | 1.12.12-r0 | — |
Advisories 6
- DSA-3940-1 cvs - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1056-1 cvs - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3399-1 cvs vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2017:2419-1 Security update for cvs SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:2422-1 Security update for cvs SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10708-1 cvs-1.12.13-1.14 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- 100279 vdb-entry
- [oss-security] 20170811 Re: CVS and ssh command injection (see CVE-2017-1000117, etc.) mailing-list
- DSA-3940 vendor-advisory
- [oss-security] 20170810 CVS and ssh command injection (see CVE-2017-1000117, etc.) mailing-list
- [bug-cvs] 20170810 CVS and ssh command injection (see CVE-2017-1000117, etc.) mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=1480800
- GLSA-201709-17 vendor-advisory
- USN-3399-1 vendor-advisory