Affected versions
Version ranges need review.
PyPIdulwich
- Affected versions
- < 0.18.5
- Fixed version
- 0.18.5
PyPIdulwich
- Affected versions
- <0.18.5 || =0.0.1 || =0.1.0 || =0.1.1 || =0.10.0 || =0.10.1a || =0.11.0 || =0.11.1 || =0.11.2 || =0.12.0 || =0.13.0 || =0.14.0 || =0.14.1 || =0.15.0 || =0.16.0 || =0.16.1 || =0.16.2 || =0.16.3 || =0.17.1 || =0.17.2 || =0.17.3 || =0.18.0 || =0.18.1 || =0.18.2 || =0.18.3 || =0.18.4 || =0.2.1 || =0.3.0 || =0.3.1 || =0.3.2 || =0.3.3 || =0.4.0 || =0.4.1 || =0.5.0 || =0.6.0 || =0.6.1 || =0.6.2 || =0.7.0 || =0.7.1 || =0.8.0 || =0.8.1 || =0.8.2 || =0.8.3 || =0.8.4 || =0.8.5 || =0.8.6 || =0.8.7 || =0.9.0 || =0.9.1 || =0.9.2 || =0.9.3 || =0.9.4 || =0.9.5 || =0.9.6 || =0.9.7 || =0.9.8 || =0.9.9
- Fixed version
- 0.18.5
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
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.
Links
- https://github.com/advisories/GHSA-cwwh-4382-6fwr
- https://github.com/jelmer/dulwich
- https://github.com/jelmer/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6
- https://github.com/pypa/advisory-database/tree/main/vulns/dulwich/PYSEC-2017-12.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2017-16228
- 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/
- https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6
- https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6/

