Advisory

GHSA-mq66-vcfc-8246

Also known as: CVE-2019-3902, PYSEC-2019-188

Summary

Mercurial Path Traversal/Link Following vulnerability

Details

A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-02-15 01:13 UTC
Modified
2024-09-25 19:48 UTC

Affected packages and fixes

mercurial

PyPI · All systems

Affected

  • introduced 0, fixed 4.9 (ecosystem)

Fixed versions

4.9

Fix

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

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