USN-5102-2

Source
https://ubuntu.com/security/notices/USN-5102-2
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5102-2.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5102-2
Upstream
Related
Published
2021-03-16T20:09:04.281045Z
Modified
2025-10-13T04:35:38Z
Summary
mercurial vulnerabilities
Details

USN-5102-1 fixed vulnerabilities in Mercurial. This update provides the corresponding updates for Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.

Original advisory details:

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. This issue only affected Ubuntu 16.04 ESM. (CVE-2018-17983)

References

Affected packages

Ubuntu:Pro:14.04:LTS / mercurial

Package

Name
mercurial
Purl
pkg:deb/ubuntu/mercurial@2.8.2-1ubuntu1.4+esm1?arch=source&distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.8.2-1ubuntu1.4+esm1

Affected versions

2.*

2.6.3-1
2.7.2-1
2.8.1-2
2.8.2-1ubuntu1
2.8.2-1ubuntu1.3
2.8.2-1ubuntu1.4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.8.2-1ubuntu1.4+esm1",
            "binary_name": "mercurial"
        },
        {
            "binary_version": "2.8.2-1ubuntu1.4+esm1",
            "binary_name": "mercurial-common"
        }
    ],
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}

Database specific

{
    "cves_map": {
        "cves": [
            {
                "severity": [
                    {
                        "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2019-3902"
            }
        ],
        "ecosystem": "Ubuntu:Pro:14.04:LTS"
    }
}

Ubuntu:Pro:16.04:LTS / mercurial

Package

Name
mercurial
Purl
pkg:deb/ubuntu/mercurial@3.7.3-1ubuntu1.2+esm2?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.3-1ubuntu1.2+esm2

Affected versions

3.*

3.4-1ubuntu2
3.6.2-1ubuntu2
3.7.3-1ubuntu1
3.7.3-1ubuntu1.1
3.7.3-1ubuntu1.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.7.3-1ubuntu1.2+esm2",
            "binary_name": "mercurial"
        },
        {
            "binary_version": "3.7.3-1ubuntu1.2+esm2",
            "binary_name": "mercurial-common"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}

Database specific

{
    "cves_map": {
        "cves": [
            {
                "severity": [
                    {
                        "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2019-3902"
            }
        ],
        "ecosystem": "Ubuntu:Pro:16.04:LTS"
    }
}