Every CVE Search/ Get API key

CVE-2017-12836

CVS 1.12.x, when configured to use SSH for remote repositories, might allow remote attackers to...

7.5 HighFix available

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."

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

6.64%Up 2.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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."

Record
CVE-2017-12836
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
5.1 MediumAV:N/AC:H/Au:N/C:P/I:P/A:P
Updated
2026-11-02
CVE List No score

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."

Record
CVE-2017-12836
Updated
2026-11-02
EUVDEUVD-2017-4373 No score

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."

Record
EUVD-2017-4373
Updated
2026-11-03
GitHub AdvisoriesGHSA-gw7c-p8cp-7935 7.5

CVS 1.12.x, when configured to use SSH for remote repositories, might allow remote attackers to...

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."

Record
GHSA-gw7c-p8cp-7935
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVALPINE-CVE-2017-12836 7.5

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."

Record
ALPINE-CVE-2017-12836
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBELL-CVE-2017-12836 7.5

CVE-2017-12836 does not affect BellSoft software

Record
BELL-CVE-2017-12836
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 8 moreShow less
OSV 7.5

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."

Record
CVE-2017-12836
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-12836 7.5

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."

Record
DEBIAN-CVE-2017-12836
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2017-12836 7.5

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."

Record
UBUNTU-CVE-2017-12836
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2017-0284 No score

Updated cvs package fixes security vulnerability

It was discovered that CVS, a centralised version control system, did not correctly handle maliciously constructed repository URLs, which allowed an attacker to run an arbitrary shell command (CVE-2017-12836).

Record
MGASA-2017-0284
Updated
2026-11-02
OSVopenSUSE-SU-2024:10708-1 No score

cvs-1.12.13-1.14 on GA media

These are all security issues fixed in the cvs-1.12.13-1.14 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10708-1
Updated
2026-11-02
OSVSUSE-SU-2017:2419-1 No score

Security update for cvs

This update for cvs fixes the following issues:

  • CVE-2017-12836: A leading dash in the argument of the '-d' option could lead to argument injection (bsc#1053364)
Record
SUSE-SU-2017:2419-1
Updated
2026-11-02
OSVSUSE-SU-2017:2422-1 No score

Security update for cvs

This update for cvs fixes the following issues:

  • CVE-2017-12836: A leading dash in the argument of the '-d' option could lead to argument injection (bsc#1053364)
Record
SUSE-SU-2017:2422-1
Updated
2026-11-02
OSVUSN-3399-1 No score

cvs vulnerability

Hank Leininger discovered that cvs did not properly handle SSH for remote repositories. A remote attacker could use this to construct a cvs repository that when accessed could run arbitrary code with the privileges of the user.

Record
USN-3399-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
cvs
Alpine:v3.10
before 1.12.12-r0
1.12.12-r0
cvs
Alpine:v3.11
before 1.12.12-r0
1.12.12-r0
cvs
Alpine:v3.12
before 1.12.12-r0
1.12.12-r0
cvs
Alpine:v3.13
before 1.12.12-r0
1.12.12-r0
cvs
Alpine:v3.14
before 1.12.12-r0
1.12.12-r0
cvs
Alpine:v3.15
before 1.12.12-r0
1.12.12-r0
cvs
Alpine:v3.16
before 1.12.12-r0
1.12.12-r0
cvs
Alpine:v3.17
before 1.12.12-r0
1.12.12-r0
cvs
Alpine:v3.22
before 1.12.12-r0
1.12.12-r0
cvs
Alpine:v3.23
before 1.12.12-r0
1.12.12-r0
Show 24 moreShow less
Affected packages
PackageAffectedFixed
cvs
Alpine:v3.24
before 1.12.12-r0
1.12.12-r0
cvs
Alpine:v3.8
before 1.12.12-r0
1.12.12-r0
cvs
Alpine:v3.9
before 1.12.12-r0
1.12.12-r0
cvs
Debian:12
before 2:1.12.13+real-24
2:1.12.13+real-24
cvs
Debian:13
before 2:1.12.13+real-24
2:1.12.13+real-24
cvs
Debian:14
before 2:1.12.13+real-24
2:1.12.13+real-24
cvs
Debian:7
before 2:1.12.13+real-9+deb7u1, plus listed versions
2:1.12.13+real-9
2:1.12.13+real-9+deb7u1
cvs
Debian:8
before 2:1.12.13+real-15+deb8u1, plus listed versions
2:1.12.13+real-15
2:1.12.13+real-15+deb8u1
cvs
Debian:9
before 2:1.12.13+real-22+deb9u1, plus listed versions
2:1.12.13+real-22
2:1.12.13+real-22+deb9u1
cvs
Mageia:5
before 1.12.13-25.1.mga5
1.12.13-25.1.mga5
cvs
Mageia:6
before 1.12.13-26.1.mga6
1.12.13-26.1.mga6
cvs
SUSE:Linux Enterprise Desktop 12 SP2
before 1.12.12-182.3.1
1.12.12-182.3.1
cvs
SUSE:Linux Enterprise Desktop 12 SP3
before 1.12.12-182.3.1
1.12.12-182.3.1
cvs
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 1.12.12-182.3.1
1.12.12-182.3.1
cvs
SUSE:Linux Enterprise Server 12 SP2
before 1.12.12-182.3.1
1.12.12-182.3.1
cvs
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 1.12.12-182.3.1
1.12.12-182.3.1
cvs
SUSE:Linux Enterprise Server 12 SP3
before 1.12.12-182.3.1
1.12.12-182.3.1
cvs
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 1.12.12-182.3.1
1.12.12-182.3.1
cvs
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 1.12.12-144.23.5.3.1
1.12.12-144.23.5.3.1
cvs
SUSE:Linux Enterprise Server 11 SP4
before 1.12.12-144.23.5.3.1
1.12.12-144.23.5.3.1
cvs
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 1.12.12-144.23.5.3.1
1.12.12-144.23.5.3.1
cvs
Ubuntu:14.04:LTS
before 2:1.12.13+real-12ubuntu0.1, plus listed versions
2:1.12.13+real-112:1.12.13+real-12
2:1.12.13+real-12ubuntu0.1
cvs
Ubuntu:16.04:LTS
before 2:1.12.13+real-15ubuntu0.1, plus listed versions
2:1.12.13+real-15
2:1.12.13+real-15ubuntu0.1
cvs
openSUSE:Tumbleweed
before 1.12.13-1.14
1.12.13-1.14

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-12836 is a high vulnerability (CVSS 7.5) in Gnu Cvs, published August 13, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.64%, the 93rd percentile. Fixed in cvs 1.12.12-r0.

References

Show 16 moreShow less
MoveEnter Open