Ubuntu 19.04 : Mercurial vulnerability (USN-4086-1)

medium Nessus Plugin ID 127803

Synopsis

The remote Ubuntu host is missing one or more security-related patches.

Description

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

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected mercurial and / or mercurial-common packages.

See Also

https://usn.ubuntu.com/4086-1/

Plugin Details

Severity: Medium

ID: 127803

File Name: ubuntu_USN-4086-1.nasl

Version: 1.6

Type: local

Agent: unix

Published: 8/12/2019

Updated: 5/6/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:P

CVSS Score Source: CVE-2019-3902

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.2

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:19.04, p-cpe:/a:canonical:ubuntu_linux:mercurial-common, p-cpe:/a:canonical:ubuntu_linux:mercurial

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Ease: No known exploits are available

Patch Publication Date: 8/6/2019

Vulnerability Publication Date: 4/22/2019

Reference Information

CVE: CVE-2019-3902

USN: 4086-1