Every CVE Search/ Get API key

CVE-2017-16228

Dulwich RCE Vulnerability

9.8 CriticalFix available

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

3.81%Up 2.0 points since Apr 14, 2021
90%50%10%1%

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 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
dulwich
PyPI
before 0.18.5
0.18.5
dulwich
Debian:12
before 0.18.5-1
0.18.5-1
dulwich
Debian:13
before 0.18.5-1
0.18.5-1
dulwich
Debian:14
before 0.18.5-1
0.18.5-1
dulwich
PyPI
before 0.18.5, plus listed versions
0.0.10.1.00.1.10.10.00.10.1a
Show 45 moreShow less
0.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-dulwich
Mageia:6
before 0.12.0-1.2.mga6
0.12.0-1.2.mga6
python-dulwich
SUSE:Linux Enterprise Module for Public Cloud 12
before 0.18.5-4.3.1
0.18.5-4.3.1
dulwich
Ubuntu:16.04:LTS
All versions, plus listed versions
0.11.2-1ubuntu10.12.0-10.12.0-1build10.12.0-1build2
None known
python-dulwich
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 0.21.7-1.3
0.21.7-1.3
python-dulwich
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 1.2.7-1.1
1.2.7-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 15 moreShow less
This page doesn't list everything

Left out here: 6 versions. The JSON record has them.

MoveEnter Open