CVE-2017-16228
Dulwich RCE Vulnerability
Dulwich before 0.18.5, when an SSH subprocess is used, allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-1000116, and CVE-2017-1000117.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
Dulwich before 0.18.5, when an SSH subprocess is used, allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-1000116, and CVE-2017-1000117.
- Record
CVE-2017-16228- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
CVE List No score
Dulwich before 0.18.5, when an SSH subprocess is used, allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-1000116, and CVE-2017-1000117.
- Record
CVE-2017-16228- Updated
- 2026-11-02
EUVDEUVD-2017-0027 No score
Dulwich before 0.18.5, when an SSH subprocess is used, allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-1000116, and CVE-2017-1000117.
- Record
EUVD-2017-0027- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-cwwh-4382-6fwr
9.3
Dulwich RCE Vulnerability
Dulwich before 0.18.5, when an SSH subprocess is used, allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-1000116, and CVE-2017-1000117.
- Record
GHSA-cwwh-4382-6fwr- CVSS 4.0
- 9.3 Critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
9.8
Dulwich before 0.18.5, when an SSH subprocess is used, allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-1000116, and CVE-2017-1000117.
- Record
CVE-2017-16228- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-16228
9.8
Dulwich before 0.18.5, when an SSH subprocess is used, allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-1000116, and CVE-2017-1000117.
- Record
DEBIAN-CVE-2017-16228- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 8 moreShow less
OSVGHSA-cwwh-4382-6fwr
9.3
Dulwich RCE Vulnerability
Dulwich before 0.18.5, when an SSH subprocess is used, allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-1000116, and CVE-2017-1000117.
- Record
GHSA-cwwh-4382-6fwr- CVSS 4.0
- 9.3 Critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-16228
9.8
Dulwich before 0.18.5, when an SSH subprocess is used, allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-1000116, and CVE-2017-1000117.
- Record
UBUNTU-CVE-2017-16228- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0445 No score
Updated python-dulwich packages fix security vulnerability
Dulwich, when an SSH subprocess is used, allowed remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname (CVE-2017-16228).
- Record
MGASA-2018-0445- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11228-1 No score
python36-dulwich-0.20.24-1.3 on GA media
These are all security issues fixed in the python36-dulwich-0.20.24-1.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11228-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14139-1 No score
python310-dulwich-0.21.7-1.3 on GA media
These are all security issues fixed in the python310-dulwich-0.21.7-1.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14139-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:11190-1 No score
python313-dulwich-1.2.7-1.1 on GA media
These are all security issues fixed in the python313-dulwich-1.2.7-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:11190-1- Updated
- 2026-11-02
OSVPYSEC-2017-12 No score
Dulwich before 0.18.5, when an SSH subprocess is used, allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-1000116, and CVE-2017-1000117.
- Record
PYSEC-2017-12- Updated
- 2026-11-02
OSVSUSE-SU-2018:2047-1 No score
Security update for python-dulwich
This update for python-dulwich to version 0.18.5 fixes this security issue:
- CVE-2017-16228: Dulwich, when an SSH subprocess is used, allowed remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname (bsc#1066430).
For detailed changes please see https://www.dulwich.io/code/dulwich/
- Record
SUSE-SU-2018:2047-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
dulwichPyPI |
before 0.18.5 | 0.18.5 |
dulwichDebian:12 |
before 0.18.5-1 | 0.18.5-1 |
dulwichDebian:13 |
before 0.18.5-1 | 0.18.5-1 |
dulwichDebian:14 |
before 0.18.5-1 | 0.18.5-1 |
dulwichPyPI |
before 0.18.5, plus listed versions 0.0.10.1.00.1.10.10.00.10.1a Show 45 moreShow less0.11.00.11.10.11.20.12.00.13.00.14.00.14.10.15.00.16.00.16.10.16.20.16.30.17.10.17.20.17.30.18.00.18.10.18.20.18.30.18.40.2.10.3.00.3.10.3.20.3.30.4.00.4.10.5.00.6.00.6.10.6.20.7.00.7.10.8.00.8.10.8.20.8.30.8.40.8.50.8.60.8.70.9.00.9.10.9.20.9.3 |
0.18.5 |
python-dulwichMageia:6 |
before 0.12.0-1.2.mga6 | 0.12.0-1.2.mga6 |
python-dulwichSUSE:Linux Enterprise Module for Public Cloud 12 |
before 0.18.5-4.3.1 | 0.18.5-4.3.1 |
dulwichUbuntu:16.04:LTS |
All versions, plus listed versions 0.11.2-1ubuntu10.12.0-10.12.0-1build10.12.0-1build2 |
None known |
python-dulwichopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 0.21.7-1.3 | 0.21.7-1.3 |
python-dulwichopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 1.2.7-1.1 | 1.2.7-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| 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-16228 is a critical vulnerability (CVSS 9.8) in Dulwich Project Dulwich, published October 29, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.81%, the 90th percentile. Fixed in dulwich 0.18.5.
References
tracker.debian.org/news/882440
dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6
dulwich.io/code/dulwich
nvd.nist.gov/vuln/detail/CVE-2017-16228
github.com/jelmer/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6
github.com/pypa/advisory-database/tree/main/vulns/dulwich/PYSEC-2017-12.yaml
Show 15 moreShow less
web.archive.org/web/20201220231743/https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6
web.archive.org/web/20210128154006/https://www.dulwich.io/code/dulwich
github.com/advisories/GHSA-cwwh-4382-6fwr
security-tracker.debian.org/tracker/CVE-2017-16228
github.com/jelmer/dulwich
advisories.mageia.org/MGASA-2018-0445.html
bugs.mageia.org/show_bug.cgi?id=23346
lists.opensuse.org/opensuse-updates/2018-08/msg00028.html
suse.com/support/update/announcement/2018/suse-su-20182047-1
bugzilla.suse.com/1066430
suse.com/security/cve/CVE-2017-16228
ubuntu.com/security/CVE-2017-16228
bleepingcomputer.com/news/security/git-project-patches-remote-code-execution-vulnerability-in-git
cve.org/CVERecord?id=CVE-2017-16228
suse.com/security/cve/CVE-2015-0838
Left out here: 6 versions. The JSON record has them.