CVE-2017-14867
Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x...
Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x before 2.14.2 uses unsafe Perl scripts to support subcommands such as cvsserver, which allows attackers to execute arbitrary OS commands via shell metacharacters in a module name. The vulnerable code is reachable via git-shell even without CVS support.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x before 2.14.2 uses unsafe Perl scripts to support subcommands such as cvsserver, which allows attackers to execute arbitrary OS commands via shell metacharacters in a module name. The vulnerable code is reachable via git-shell even without CVS support.
- Record
CVE-2017-14867- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 9.0 High
AV:N/AC:L/Au:S/C:C/I:C/A:C - Weakness
- CWE-78
- Updated
- 2026-11-02
CVE List No score
Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x before 2.14.2 uses unsafe Perl scripts to support subcommands such as cvsserver, which allows attackers to execute arbitrary OS commands via shell metacharacters in a module name. The vulnerable code is reachable via git-shell even without CVS support.
- Record
CVE-2017-14867- Updated
- 2026-11-02
EUVDEUVD-2017-6346 No score
Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x before 2.14.2 uses unsafe Perl scripts to support subcommands such as cvsserver, which allows attackers to execute arbitrary OS commands via shell metacharacters in a module name. The vulnerable code is reachable via git-shell even without CVS support.
- Record
EUVD-2017-6346- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-h66v-9g4g-85x5
8.8
Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x...
Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x before 2.14.2 uses unsafe Perl scripts to support subcommands such as cvsserver, which allows attackers to execute arbitrary OS commands via shell metacharacters in a module name. The vulnerable code is reachable via git-shell even without CVS support.
- Record
GHSA-h66v-9g4g-85x5- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
OSVAZL-43047
8.8
CVE-2017-14867 affecting package git for versions less than 2.45.2-1
Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x before 2.14.2 uses unsafe Perl scripts to support subcommands such as cvsserver, which allows attackers to execute arbitrary OS commands via shell metacharacters in a module name. The vulnerable code is reachable via git-shell even without CVS support.
- Record
AZL-43047- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2017-14867
8.8
CVE-2017-14867 does not affect BellSoft software
- Record
BELL-CVE-2017-14867- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 9 moreShow less
OSV
8.8
Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x before 2.14.2 uses unsafe Perl scripts to support subcommands such as cvsserver, which allows attackers to execute arbitrary OS commands via shell metacharacters in a module name. The vulnerable code is reachable via git-shell even without CVS support.
- Record
CVE-2017-14867- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-14867
8.8
Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x before 2.14.2 uses unsafe Perl scripts to support subcommands such as cvsserver, which allows attackers to execute arbitrary OS commands via shell metacharacters in a module name. The vulnerable code is reachable via git-shell even without CVS support.
- Record
DEBIAN-CVE-2017-14867- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-14867
8.8
Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x before 2.14.2 uses unsafe Perl scripts to support subcommands such as cvsserver, which allows attackers to execute arbitrary OS commands via shell metacharacters in a module name. The vulnerable code is reachable via git-shell even without CVS support.
- Record
UBUNTU-CVE-2017-14867- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0404 No score
Updated git packages fix security vulnerability
The git subcommand cvsserver is a Perl script which makes excessive
use of the backtick operator to invoke git. Unfortunately user input
is used within some of those invocations, which can be a OS Command
Injection vulnerability (CVE-2017-14867).
- Record
MGASA-2017-0404- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10786-1 No score
git-2.33.0-1.3 on GA media
These are all security issues fixed in the git-2.33.0-1.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10786-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:2717-1 No score
Security update for git
This update for git fixes the following issues:
- CVE-2017-14867: A cvsserver perl script command injection was fixed (CVE-2017-14867, bsc#1061041):
- Record
SUSE-SU-2017:2717-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:2747-1 No score
Security update for git
This update for git fixes the following issues:
This security issue was fixed:
- CVE-2017-14867: Git used unsafe Perl scripts to support subcommands such as cvsserver, which allowed attackers to execute arbitrary OS commands via shell metacharacters in a module name (bsc#1061041).
- Record
SUSE-SU-2017:2747-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:20049-1 No score
Security update for git
This update for git fixes the following issues:
git was updated to 2.45.1:
- CVE-2024-32002: recursive clones on case-insensitive filesystems that support symbolic links are susceptible to case confusion (bsc#1224168)
- CVE-2024-32004: arbitrary code execution during local clones (bsc#1224170)
- CVE-2024-32020: file overwriting vulnerability during local clones (bsc#1224171)
- CVE-2024-32021: git may create hardlinks to arbitrary user- readable files (bsc#1224172)
- CVE-2024-32465: arbitrary code execution during clone operations (bsc#1224173)
Update to 2.45.0:
- Improved efficiency managing repositories with many references ("git init --ref-format=reftable")
- "git checkout -p" and friends learned that that "@" is a synonym for "HEAD"
- cli improvements handling refs
- Expanded a number of commands and options, UI improvements
- status.showUntrackedFiles now accepts "true"
- git-cherry-pick(1) now automatically drops redundant commits with new --empty option
- The userdiff patterns for C# has been updated.
Update to 2.44.0:
- "git checkout -B <branch>" now longer allows switching to a branch that is in use on another worktree. The users need to use "--ignore-other-worktrees" option.
- Faster server-side rebases with git replay
- Faster pack generation with multi-pack reuse
- rebase auto-squashing now works in non-interactive mode
- pathspec now understands attr, e.g. ':(attr:~binary) for selecting non-binaries, or builtin_objectmode for selecting items by file mode or other properties
- Many other cli UI and internal improvements and extensions
- Do not replace apparmor configuration, fixes bsc#1216545
Update to 2.43.2:
- https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.43.2.txt
- Update to a new feature recently added, "git show-ref --exists".
- Rename detection logic ignored the final line of a file if it is an incomplete line.
- "git diff --no-rename A B" did not disable rename detection but did not trigger an error from the command line parser.
- "git diff --no-index file1 file2" segfaulted while invoking the external diff driver, which has been corrected.
- A failed "git tag -s" did not necessarily result in an error depending on the crypto backend, which has been corrected.
- "git stash" sometimes was silent even when it failed due to unwritable index file, which has been corrected.
- Recent conversion to allow more than 0/1 in GIT_FLUSH broke the mechanism by flipping what yes/no means by mistake, which has been corrected.
Update to 2.43.1:
-
gitweb AppArmor profile: allow reading etc/gitweb-common.conf (bsc#1218664)
-
git moved to /usr/libexec/git/git, update AppArmor profile accordingly (bsc#1218588)
Update to 2.43.0:
- The "--rfc" option of "git format-patch" used to be a valid way to override an earlier "--subject-prefix=<something>" on the command line and replace it with "[RFC PATCH]", but from this release, it merely prefixes the string "RFC " in front of the given subject prefix. If you are negatively affected by this change, please use "--subject-prefix=PATCH --rfc" as a replacement.
- In Git 2.42, "git rev-list --stdin" learned to take non-revisions (like "--not") from the standard input, but the way such a "--not" was handled was quite confusing, which has been rethought. The updated rule is that "--not" given from the command line only affects revs given from the command line that comes but not revs read from the standard input, and "--not" read from the standard input affects revs given from the standard input and not revs given from the command line.
- A message written in olden time prevented a branch from getting checked out, saying it is already checked out elsewhere. But these days, we treat a branch that…
- Record
SUSE-SU-2025:20049-1- Updated
- 2026-11-02
OSVUSN-3438-1 No score
git vulnerability
It was discovered that Git incorrectly handled certain subcommands such as cvsserver. A remote attacker could possibly use this issue via shell metacharacters in modules names to execute arbitrary code.
This update also removes the cvsserver subcommand from git-shell by default.
- Record
USN-3438-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gitAzure Linux:3 |
before 2.45.2-1 | 2.45.2-1 |
gitDebian:12 |
before 1:2.14.2-1 | 1:2.14.2-1 |
gitDebian:13 |
before 1:2.14.2-1 | 1:2.14.2-1 |
gitDebian:14 |
before 1:2.14.2-1 | 1:2.14.2-1 |
gitDebian:7 |
before 1:1.7.10.4-1+wheezy6, plus listed versions 1:1.7.10.4-1+wheezy11:1.7.10.4-1+wheezy21:1.7.10.4-1+wheezy31:1.7.10.4-1+wheezy41:1.7.10.4-1+wheezy5 |
1:1.7.10.4-1+wheezy6 |
gitDebian:8 |
before 1:2.1.4-2.1+deb8u5, plus listed versions 1:2.1.4-2.11:2.1.4-2.1+deb8u11:2.1.4-2.1+deb8u21:2.1.4-2.1+deb8u31:2.1.4-2.1+deb8u4 |
1:2.1.4-2.1+deb8u5 |
gitDebian:9 |
before 1:2.11.0-3+deb9u2, plus listed versions 1:2.11.0-31:2.11.0-3+deb9u1 |
1:2.11.0-3+deb9u2 |
gitMageia:6 |
before 2.13.6-1.mga6 | 2.13.6-1.mga6 |
gitSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 1.7.12.4-0.18.6.1 | 1.7.12.4-0.18.6.1 |
gitSUSE:Studio Onsite 1.3 |
before 1.7.12.4-0.18.6.1 | 1.7.12.4-0.18.6.1 |
Show 14 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gitSUSE:OpenStack Cloud 6 |
before 2.12.3-27.9.1 | 2.12.3-27.9.1 |
gitSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 2.12.3-27.9.1 | 2.12.3-27.9.1 |
gitSUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 2.12.3-27.9.1 | 2.12.3-27.9.1 |
gitSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 2.12.3-27.9.1 | 2.12.3-27.9.1 |
gitSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 2.12.3-27.9.1 | 2.12.3-27.9.1 |
gitSUSE:Linux Enterprise Server 12 SP1-LTSS |
before 2.12.3-27.9.1 | 2.12.3-27.9.1 |
gitSUSE:Linux Enterprise Server 12 SP2 |
before 2.12.3-27.9.1 | 2.12.3-27.9.1 |
gitSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 2.12.3-27.9.1 | 2.12.3-27.9.1 |
gitSUSE:Linux Enterprise Server 12 SP3 |
before 2.12.3-27.9.1 | 2.12.3-27.9.1 |
gitSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 2.12.3-27.9.1 | 2.12.3-27.9.1 |
gitSUSE:Linux Micro 6.0 |
before 2.45.1-1.1 | 2.45.1-1.1 |
gitUbuntu:14.04:LTS |
before 1:1.9.1-1ubuntu0.7, plus listed versions 1:1.8.3.2-11:1.8.4.2-11:1.8.4.3-11:1.8.4.4-11:1.8.5-1 Show 13 moreShow less1:1.8.5.1-11:1.8.5.2-11:1.8.5.2-21:1.8.5.3-11:1.9~rc1-11:1.9.0-11:1.9.1-11:1.9.1-1ubuntu0.11:1.9.1-1ubuntu0.21:1.9.1-1ubuntu0.31:1.9.1-1ubuntu0.41:1.9.1-1ubuntu0.51:1.9.1-1ubuntu0.6 |
1:1.9.1-1ubuntu0.7 |
gitUbuntu:16.04:LTS |
before 1:2.7.4-0ubuntu1.3, plus listed versions 1:2.5.0-11:2.6.2-11:2.6.3-11:2.6.4-11:2.7.0~rc3-1 Show 5 moreShow less1:2.7.0-11:2.7.3-0ubuntu11:2.7.4-0ubuntu11:2.7.4-0ubuntu1.11:2.7.4-0ubuntu1.2 |
1:2.7.4-0ubuntu1.3 |
gitopenSUSE:Tumbleweed |
before 2.33.0-1.3 | 2.33.0-1.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-14867 is a high vulnerability (CVSS 8.8) in Git-scm Git, published September 26, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 36.0%, the 98th percentile. Fixed in git 2.45.2-1.
References
openwall.com/lists/oss-security/2017/09/26/9
bugs.debian.org/876854
lists.debian.org/debian-security-announce/2017/msg00246.html
public-inbox.org/git/xmqqy3p29ekj.fsf%40gitster.mtv.corp.google.com/T
securitytracker.com/id/1039431
securityfocus.com/bid/101060
Show 53 moreShow less
debian.org/security/2017/dsa-3984
nvd.nist.gov/vuln/detail/CVE-2017-14867
public-inbox.org/git/[email protected]/T
github.com/advisories/GHSA-h66v-9g4g-85x5
docs.bell-sw.com/security/cves/CVE-2017-14867
security-tracker.debian.org/tracker/CVE-2017-14867
advisories.mageia.org/MGASA-2017-0404.html
bugs.mageia.org/show_bug.cgi?id=21774
suse.com/support/update/announcement/2017/suse-su-20172717-1
bugzilla.suse.com/1061041
suse.com/security/cve/CVE-2017-14867
suse.com/support/update/announcement/2017/suse-su-20172747-1
suse.com/support/update/announcement/2025/suse-su-202520049-1
bugzilla.suse.com/1042640
bugzilla.suse.com/1069468
bugzilla.suse.com/1082023
bugzilla.suse.com/1216545
bugzilla.suse.com/1218588
bugzilla.suse.com/1218664
bugzilla.suse.com/1224168
bugzilla.suse.com/1224170
bugzilla.suse.com/1224171
bugzilla.suse.com/1224172
bugzilla.suse.com/1224173
bugzilla.suse.com/779536
suse.com/security/cve/CVE-2005-4900
suse.com/security/cve/CVE-2024-32002
suse.com/security/cve/CVE-2024-32004
suse.com/security/cve/CVE-2024-32020
suse.com/security/cve/CVE-2024-32021
suse.com/security/cve/CVE-2024-32465
ubuntu.com/security/CVE-2017-14867
ubuntu.com/security/notices/USN-3438-1
cve.org/CVERecord?id=CVE-2017-14867
suse.com/security/cve/CVE-2017-1000117
suse.com/security/cve/CVE-2017-15298
suse.com/security/cve/CVE-2017-8386
suse.com/security/cve/CVE-2018-11233
suse.com/security/cve/CVE-2018-11235
suse.com/security/cve/CVE-2018-17456
suse.com/security/cve/CVE-2018-19486
suse.com/security/cve/CVE-2019-1348
suse.com/security/cve/CVE-2019-1349
suse.com/security/cve/CVE-2019-1350
suse.com/security/cve/CVE-2019-1351
suse.com/security/cve/CVE-2019-1352
suse.com/security/cve/CVE-2019-1353
suse.com/security/cve/CVE-2019-1354
suse.com/security/cve/CVE-2019-1387
suse.com/security/cve/CVE-2019-19604
suse.com/security/cve/CVE-2020-11008
suse.com/security/cve/CVE-2020-5260
suse.com/security/cve/CVE-2021-21300
Left out here: the rest of 1 source description. The JSON record has them.