CVE-2019-3902

Published: 22 April 2019

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.

From the Ubuntu security team

It was discovered that Mercurial mishandled symlinks in subrepositories. An attacker could use this vulnerability to write arbitrary files to the target's filesystem.

Priority

Medium

CVSS 3 base score: 5.9

Status

Package Release Status
mercurial
Launchpad, Ubuntu, Debian
Upstream
Released (4.9-1)
Ubuntu 20.10 (Groovy Gorilla) Not vulnerable
(4.8.2-1ubuntu4)
Ubuntu 20.04 LTS (Focal Fossa) Not vulnerable
(4.8.2-1ubuntu4)
Ubuntu 18.04 LTS (Bionic Beaver) Needed

Ubuntu 16.04 LTS (Xenial Xerus) Needed

Ubuntu 14.04 ESM (Trusty Tahr) Needed