[USN-5102-1] Mercurial vulnerabilities

Leonidas S. Barbosa leo.barbosa at canonical.com
Mon Oct 4 19:09:19 UTC 2021

Ubuntu Security Notice USN-5102-1
October 04, 2021

mercurial vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 18.04 LTS


Several security issues were fixed in Mercurial.

Software Description:
- mercurial: easy-to-use, scalable distributed version control system


It was discovered that Mercurial mishandled symlinks in subrepositories. An
attacker could use this issue to write arbitrary files to the
target’s filesystem. (CVE-2019-3902)

It was discovered that Mercurial incorrectly handled certain manifest files.
An attacker could use this issue to cause a denial of service and possibly
execute arbitrary code. (CVE-2018-17983)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 18.04 LTS:
  mercurial                       4.5.3-1ubuntu2.2
  mercurial-common                4.5.3-1ubuntu2.2

In general, a standard system update will make all the necessary changes.

  CVE-2018-17983, CVE-2019-3902

Package Information:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20211004/9b5f522b/attachment.sig>

More information about the ubuntu-security-announce mailing list