Arbitrary Command Injection Affecting dulwich package, versions [,0.18.5)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DULWICH-40686
  • published3 Nov 2017
  • disclosed28 Oct 2017
  • creditUnknown

Introduced: 28 Oct 2017

CVE-2017-16228  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade dulwich to version 0.18.5 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Command Injection 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

CVSS Scores

version 3.1