Advisory

GHSA-9vjf-jjcq-3gh7

Also known as: CVE-2016-3630, PYSEC-2016-29

Summary

Mercurial arbitrary code execution vulnerability

Details

The binary delta decoder in Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a (1) clone, (2) push, or (3) pull command, related to (a) a list sizing rounding error and (b) short records.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-14 02:08 UTC
Modified
2024-12-04 05:41 UTC

Affected packages and fixes

mercurial

PyPI · All systems

Affected

  • introduced 0, fixed 3.7.3 (ecosystem)

Fixed versions

3.7.3

Fix

  • Fixed version 3.7.3
    pip install --upgrade mercurial==3.7.3

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences