{"id":"UBUNTU-CVE-2017-17831","details":"GitHub Git LFS before 2.1.1 allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, located on a \"url =\" line in a .lfsconfig file within a repository.","modified":"2025-07-16T08:13:07.304792Z","published":"2017-12-21T06:29:00Z","withdrawn":"2025-07-18T16:44:17Z","upstream":["CVE-2017-17831"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-17831"},{"type":"REPORT","url":"https://github.com/git-lfs/git-lfs/pull/2242"},{"type":"REPORT","url":"https://github.com/git-lfs/git-lfs/releases/tag/v2.1.1"},{"type":"REPORT","url":"http://blog.recurity-labs.com/2017-08-10/scm-vulns"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-17831"}],"affected":[{"package":{"name":"git-lfs","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/git-lfs@2.3.4-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.4-1"}]}],"versions":["2.2.1-1","2.3.3-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"git-lfs","binary_version":"2.3.4-1"},{"binary_version":"2.3.4-1","binary_name":"git-lfs-dbgsym"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-17831.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}