Skip to content
OpenAdvisories
Critical · 9.8 CVE-2017-16228 EUVD-2017-0027GHSA-cwwh-4382-6fwrPYSEC-2017-12

Dulwich RCE Vulnerability

Published Oct 29, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

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.

ReleasePackageFixed inAdvisory
Debian 14 dulwich 0.18.5-1 —
Debian 13 dulwich 0.18.5-1 —
Debian 12 dulwich 0.18.5-1 —
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS dulwich No fix yet —
ReleasePackageFixed inAdvisory
SLES 12 python-dulwich 0.18.5-4.3.1 SUSE-SU-2018:2047-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-dulwich 0.21.7-1.3 openSUSE-SU-2026:11190-1, openSUSE-SU-2024:14139-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI dulwich < 0.18.5 0.18.5 GHSA-cwwh-4382-6fwr

Advisories 3

References