{"id":"UBUNTU-CVE-2017-16228","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.","modified":"2025-10-24T04:46:34Z","published":"2017-10-29T20:29:00Z","upstream":["CVE-2017-16228"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-16228"},{"type":"REPORT","url":"https://www.dulwich.io/code/dulwich/commit/7116a0cbbda571f7dac863f4b1c00b6e16d6d8d6/"},{"type":"REPORT","url":"https://tracker.debian.org/news/882440"},{"type":"REPORT","url":"https://www.dulwich.io/code/dulwich/"},{"type":"REPORT","url":"https://www.bleepingcomputer.com/news/security/git-project-patches-remote-code-execution-vulnerability-in-git/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-16228"}],"affected":[{"package":{"name":"dulwich","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/dulwich@0.12.0-1build2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.2-1ubuntu1","0.12.0-1","0.12.0-1build1","0.12.0-1build2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.12.0-1build2","binary_name":"pypy-dulwich"},{"binary_version":"0.12.0-1build2","binary_name":"python-dulwich"},{"binary_version":"0.12.0-1build2","binary_name":"python3-dulwich"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-16228.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}