CVE-2017-17458

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*

History

No history.

Information

Published : 2017-12-07 18:29

Updated : 2023-12-10 12:15


NVD link : CVE-2017-17458

Mitre link : CVE-2017-17458

CVE.ORG link : CVE-2017-17458


JSON object : View

Products Affected

debian

  • debian_linux

mercurial

  • mercurial
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')