Advisory

GHSA-3mjj-mr4f-qxmx

Also known as: CVE-2018-13347, PYSEC-2018-89

Summary

Mercurial mishandles integer addition and subtraction

Details

mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-13 01:24 UTC
Modified
2024-09-25 20:01 UTC

Affected packages and fixes

mercurial

PyPI · All systems

Affected

  • introduced 0, fixed 4.6.1 (ecosystem)

Fixed versions

4.6.1

Fix

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

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