UBUNTU-CVE-2018-13348

Source
https://ubuntu.com/security/CVE-2018-13348
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-13348.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-13348
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_decode function in mpatch.c in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka OVE-20180430-0001.

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"
        }
    ]
}