python-dulwich: Setting SSH arguments from untrusted URLs allows code execution
Published Oct 29, 2017
9.3
CRITICALCVSS 4.0
EPSS 3.66%
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.
Affected products
No data.
- ≤ 0.18.4
No data.
Red Hat OpenStack Platform 11 (Ocata)
python-dulwich
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenStack Platform 11 (Ocata) | python-dulwich | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
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
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.66% (0.03660) | 89.27th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.39% (0.03394) | 87.22th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.03% (0.01027) | 75.29th | v4 (v2025.03.14) |
| Mar 29, 2025 | 3.92% (0.03921) | 80.22th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.03% (0.01027) | 75.76th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.36% (0.00362) | 73.18th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.36% (0.00362) | 71.52th | v3 (v2023.03.01) |
| May 8, 2023 | 0.36% (0.00362) | 68.10th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.39% (0.00386) | 68.95th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.14% (0.01136) | 59.45th | v2 (v2022.01.01) |
| Oct 18, 2022 | 1.14% (0.01136) | 58.28th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.14% (0.01136) | 56.27th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.14% (0.01136) | 34.23th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.83% (0.01828) | 35.38th | v1 |
| Jan 6, 2022 | 1.83% (0.01828) | 34.69th | v1 |
| Sep 1, 2021 | 1.83% (0.01828) | 74.99th | v1 |
| Apr 14, 2021 | 1.83% (0.01828) | 0.00th | v1 |
References (12)
- https://access.redhat.com/security/cve/CVE-2017-16228 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1509303 Issue Tracking
- https://github.com/advisories/GHSA-cwwh-4382-6fwr Advisory
- 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 x_refsource_MISCIssue TrackingThird Party Advisory
- 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.cve.org/CVERecord?id=CVE-2017-16228
- https://www.dulwich.io/code/dulwich x_refsource_MISCProductVendor Advisory
- https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6 x_refsource_MISCIssue TrackingPatchVendor Advisory
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2017-16228 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1509303 | Issue Tracking | |
| https://github.com/advisories/GHSA-cwwh-4382-6fwr | Advisory | |
| 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 | x_refsource_MISCIssue TrackingThird Party Advisory | |
| 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.cve.org/CVERecord?id=CVE-2017-16228 | ||
| https://www.dulwich.io/code/dulwich | x_refsource_MISCProductVendor Advisory | |
| https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6 | x_refsource_MISCIssue TrackingPatchVendor Advisory |
Change history (0)
No recorded changes yet.