GitHub Advisory Database
GHSA-cwwh-4382-6fwr
Dulwich RCE Vulnerability
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | dulwich | All versions before 0.18.5 (fixed in 0.18.5) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-16228
- https://github.com/jelmer/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6
- https://github.com/jelmer/dulwich
- https://github.com/pypa/advisory-database/tree/main/vulns/dulwich/PYSEC-2017-12.yaml
- https://tracker.debian.org/news/882440
- https://web.archive.org/web/20201220231743/https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6
- https://web.archive.org/web/20210128154006/https://www.dulwich.io/code/dulwich
- https://www.dulwich.io/code/dulwich
- https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6