Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. dulwich
  4. ›
  5. CVE-2017-16228

CVE-2017-16228: Dulwich RCE Vulnerability

May 13, 2022 (updated September 20, 2024)

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.

References

  • github.com/advisories/GHSA-cwwh-4382-6fwr
  • github.com/jelmer/dulwich
  • github.com/jelmer/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6
  • github.com/pypa/advisory-database/tree/main/vulns/dulwich/PYSEC-2017-12.yaml
  • nvd.nist.gov/vuln/detail/CVE-2017-16228
  • tracker.debian.org/news/882440
  • web.archive.org/web/20201220231743/https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6
  • web.archive.org/web/20210128154006/https://www.dulwich.io/code/dulwich
  • www.dulwich.io/code/dulwich
  • www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6

Code Behaviors & Features

Detect and mitigate CVE-2017-16228 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.18.5

Fixed versions

  • 0.18.5

Solution

Upgrade to version 0.18.5 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

pypi/dulwich/CVE-2017-16228.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:50 +0000.