Advisory

GHSA-3pmw-h7j4-rf54

Also known as: CVE-2014-9462, PYSEC-2015-14

Summary

Mercurial vulnerable to arbitrary command execution via a crafted repository name in a clone command

Details

The _validaterepo function in sshpeer in Mercurial before 3.2.4 allows remote attackers to execute arbitrary commands via a crafted repository name in a clone command.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-14 02:05 UTC
Modified
2024-09-24 20:46 UTC

Affected packages and fixes

mercurial

PyPI · All systems

Affected

  • introduced 0, fixed 3.2.4 (ecosystem)

Fixed versions

3.2.4

Fix

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

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