Advisory

UBUNTU-CVE-2017-17458

Also known as: CVE-2017-17458

Summary

The record has no summary.

Details

In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the form of a .git/hooks/post-update script checked into the repository. Typical use of Mercurial prevents construction of such repositories, but they can be created programmatically.

Severity

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

Dates

Published
2017-12-07 18:29 UTC
Modified
2025-09-08 16:44 UTC

Affected packages and fixes

mercurial

Debian packages (deb) · Ubuntu 14.04

Affected

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

Fixed versions

2.8.2-1ubuntu1.4

Fix

  • Fixed version 2.8.2-1ubuntu1.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.

mercurial

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 3.7.3-1ubuntu1.1 (ecosystem)

Fixed versions

3.7.3-1ubuntu1.1

Fix

  • Fixed version 3.7.3-1ubuntu1.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