UBUNTU-CVE-2018-11235

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2018-11235
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-11235.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-11235
Related
Published
2018-05-30T00:00:00Z
Modified
2018-05-30T00:00:00Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs "git clone --recurse-submodules" because submodule "names" are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with "../" in a name. Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.

References

Affected packages

Ubuntu:14.04:LTS / git

Package

Name
git
Purl
pkg:deb/ubuntu/git@1:1.9.1-1ubuntu0.8?arch=src?distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:1.9.1-1ubuntu0.8

Affected versions

1:1.*

1:1.8.3.2-1
1:1.8.4.2-1
1:1.8.4.3-1
1:1.8.4.4-1
1:1.8.5-1
1:1.8.5.1-1
1:1.8.5.2-1
1:1.8.5.2-2
1:1.8.5.3-1
1:1.9~rc1-1
1:1.9.0-1
1:1.9.1-1
1:1.9.1-1ubuntu0.1
1:1.9.1-1ubuntu0.2
1:1.9.1-1ubuntu0.3
1:1.9.1-1ubuntu0.4
1:1.9.1-1ubuntu0.5
1:1.9.1-1ubuntu0.6
1:1.9.1-1ubuntu0.7

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "git-core": "1:1.9.1-1ubuntu0.8",
            "git-daemon-run": "1:1.9.1-1ubuntu0.8",
            "git-email": "1:1.9.1-1ubuntu0.8",
            "git-mediawiki": "1:1.9.1-1ubuntu0.8",
            "git": "1:1.9.1-1ubuntu0.8",
            "git-el": "1:1.9.1-1ubuntu0.8",
            "git-cvs": "1:1.9.1-1ubuntu0.8",
            "git-bzr": "1:1.9.1-1ubuntu0.8",
            "gitk": "1:1.9.1-1ubuntu0.8",
            "git-doc": "1:1.9.1-1ubuntu0.8",
            "git-arch": "1:1.9.1-1ubuntu0.8",
            "git-daemon-sysvinit": "1:1.9.1-1ubuntu0.8",
            "git-svn": "1:1.9.1-1ubuntu0.8",
            "git-gui": "1:1.9.1-1ubuntu0.8",
            "git-man": "1:1.9.1-1ubuntu0.8",
            "gitweb": "1:1.9.1-1ubuntu0.8",
            "git-all": "1:1.9.1-1ubuntu0.8"
        }
    ]
}

Ubuntu:16.04:LTS / git

Package

Name
git
Purl
pkg:deb/ubuntu/git@1:2.7.4-0ubuntu1.4?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.7.4-0ubuntu1.4

Affected versions

1:2.*

1:2.5.0-1
1:2.6.2-1
1:2.6.3-1
1:2.6.4-1
1:2.7.0~rc3-1
1:2.7.0-1
1:2.7.3-0ubuntu1
1:2.7.4-0ubuntu1
1:2.7.4-0ubuntu1.1
1:2.7.4-0ubuntu1.2
1:2.7.4-0ubuntu1.3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "git-core": "1:2.7.4-0ubuntu1.4",
            "git-daemon-run": "1:2.7.4-0ubuntu1.4",
            "git-email": "1:2.7.4-0ubuntu1.4",
            "git-mediawiki": "1:2.7.4-0ubuntu1.4",
            "git": "1:2.7.4-0ubuntu1.4",
            "git-el": "1:2.7.4-0ubuntu1.4",
            "git-cvs": "1:2.7.4-0ubuntu1.4",
            "git-doc": "1:2.7.4-0ubuntu1.4",
            "gitk": "1:2.7.4-0ubuntu1.4",
            "git-arch": "1:2.7.4-0ubuntu1.4",
            "git-daemon-sysvinit": "1:2.7.4-0ubuntu1.4",
            "git-svn": "1:2.7.4-0ubuntu1.4",
            "git-gui": "1:2.7.4-0ubuntu1.4",
            "git-man": "1:2.7.4-0ubuntu1.4",
            "gitweb": "1:2.7.4-0ubuntu1.4",
            "git-all": "1:2.7.4-0ubuntu1.4"
        }
    ]
}

Ubuntu:18.04:LTS / git

Package

Name
git
Purl
pkg:deb/ubuntu/git@1:2.17.1-1ubuntu0.1?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.17.1-1ubuntu0.1

Affected versions

1:2.*

1:2.14.1-1ubuntu4
1:2.15.1-1ubuntu2
1:2.17.0-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "git-daemon-run": "1:2.17.1-1ubuntu0.1",
            "git-email": "1:2.17.1-1ubuntu0.1",
            "git-mediawiki": "1:2.17.1-1ubuntu0.1",
            "git": "1:2.17.1-1ubuntu0.1",
            "git-el": "1:2.17.1-1ubuntu0.1",
            "git-cvs": "1:2.17.1-1ubuntu0.1",
            "git-doc": "1:2.17.1-1ubuntu0.1",
            "gitk": "1:2.17.1-1ubuntu0.1",
            "git-dbgsym": "1:2.17.1-1ubuntu0.1",
            "git-daemon-sysvinit": "1:2.17.1-1ubuntu0.1",
            "git-svn": "1:2.17.1-1ubuntu0.1",
            "git-gui": "1:2.17.1-1ubuntu0.1",
            "git-man": "1:2.17.1-1ubuntu0.1",
            "gitweb": "1:2.17.1-1ubuntu0.1",
            "git-all": "1:2.17.1-1ubuntu0.1"
        }
    ]
}