UBUNTU-CVE-2017-17458

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

In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the form of a .git/hooks/post-update script checked into the repository. Typical use of Mercurial prevents construction of such repositories, but they can be created programmatically.

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