Advisory

UBUNTU-CVE-2018-11235

Also known as: CVE-2018-11235

Summary

The record has no summary.

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.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2018-05-30 00:00 UTC
Modified
2026-02-04 02:57 UTC

Affected packages and fixes

git

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 1:1.9.1-1ubuntu0.8 (ecosystem)

Fixed versions

1:1.9.1-1ubuntu0.8

Fix

  • Fixed version 1:1.9.1-1ubuntu0.8
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

git

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 1:2.7.4-0ubuntu1.4 (ecosystem)

Fixed versions

1:2.7.4-0ubuntu1.4

Fix

  • Fixed version 1:2.7.4-0ubuntu1.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

git

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1:2.17.1-1ubuntu0.1 (ecosystem)

Fixed versions

1:2.17.1-1ubuntu0.1

Fix

  • Fixed version 1:2.17.1-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences