UBUNTU-CVE-2018-13346

Source
https://ubuntu.com/security/CVE-2018-13346
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-13346.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-13346
Related
Published
2018-07-06T00:29:00Z
Modified
2018-07-06T00:29:00Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

The mpatch_apply function in mpatch.c in Mercurial before 4.6.1 incorrectly proceeds in cases where the fragment start is past the end of the original data, aka OVE-20180430-0004.

References

Affected packages

Ubuntu:14.04:LTS / mercurial

Package

Name
mercurial
Purl
pkg:deb/ubuntu/mercurial?arch=src?distro=trusty

Affected ranges

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

Affected versions

2.*

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.8.2-1ubuntu1.4",
            "binary_name": "mercurial"
        },
        {
            "binary_version": "2.8.2-1ubuntu1.4",
            "binary_name": "mercurial-common"
        },
        {
            "binary_version": "2.8.2-1ubuntu1.4",
            "binary_name": "mercurial-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / mercurial

Package

Name
mercurial
Purl
pkg:deb/ubuntu/mercurial?arch=src?distro=xenial

Affected ranges

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

Affected versions

3.*

3.4-1ubuntu2
3.6.2-1ubuntu2
3.7.3-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.7.3-1ubuntu1.1",
            "binary_name": "mercurial"
        },
        {
            "binary_version": "3.7.3-1ubuntu1.1",
            "binary_name": "mercurial-common"
        },
        {
            "binary_version": "3.7.3-1ubuntu1.1",
            "binary_name": "mercurial-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / mercurial

Package

Name
mercurial
Purl
pkg:deb/ubuntu/mercurial?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.5.3-1ubuntu2.1

Affected versions

4.*

4.3.1-2
4.5-1ubuntu1
4.5.2-0ubuntu2
4.5.3-1ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "4.5.3-1ubuntu2.1",
            "binary_name": "mercurial"
        },
        {
            "binary_version": "4.5.3-1ubuntu2.1",
            "binary_name": "mercurial-common"
        },
        {
            "binary_version": "4.5.3-1ubuntu2.1",
            "binary_name": "mercurial-dbgsym"
        }
    ]
}