Live threats

All CVEs / Dulwich Project

CVE-2017-16228Dulwich Project Dulwich

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
3.8%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Oct 29, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Dulwich.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI dulwich < 0.18.5 0.18.5 pip install "dulwich>=0.18.5"
PyPI dulwich < 0.18.5 0.18.5 pip install "dulwich>=0.18.5"

Per OSV / GitHub Advisories (GHSA-cwwh-4382-6fwr, PYSEC-2017-12). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
dulwich_projectdulwich≤ 0.18.4

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.