CVE-2017-16228
CRITICAL 9.8CVSS 3.0Dulwich 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.
- Published
- 29 Oct 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- GHSA-cwwh-4382-6fwrPYSEC-2017-12
- Sources
- NVDJSONOSV GHSA-cwwh-4382-6fwrJSONOSV PYSEC-2017-12JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dulwich_project | dulwichcpe:2.3:a:dulwich_project:dulwich:*:*:*:*:*:*:*:* |
<= 0.18.4 | |
| OSV | PyPI | dulwich | < 0.18.5 | 0.18.5 |
References
- https://tracker.debian.org/news/882440 · Issue Tracking, Third Party Advisory, WEB
- https://www.dulwich.io/code/dulwich/ · Product, Vendor Advisory, WEB
- https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6/ · Issue Tracking, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-16228 · ADVISORY
- https://github.com/jelmer/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6 · WEB
- https://github.com/jelmer/dulwich · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/dulwich/PYSEC-2017-12.yaml · WEB
- https://web.archive.org/web/20201220231743/https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6 · WEB
- https://web.archive.org/web/20210128154006/https://www.dulwich.io/code/dulwich · WEB
- https://github.com/advisories/GHSA-cwwh-4382-6fwr · ADVISORY
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 29 Oct 2017)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Oct 2017)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 May 2022)