Improper input validation in Patch - CVE-2018-1000156
Published: April 7, 2018 / Updated: April 10, 2018
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The weakness exists in the EDITOR_PROGRAM invocation due to improper input validation. A remote attacker can send a specially crafted patch file and execute arbitrary code.
Successful exploitation of the vulnerability may result in system compromise.
Affected software
Arch Linux
Amazon Linux AMI
Gentoo Linux
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux EUS Compute Node
SUSE Linux
Slackware Linux
Fedora
patch (Alpine package)
patch (Debian package)
patch
How to mitigate CVE-2018-1000156
patch (Debian package) - update to 2.7.5-1+deb9u2
patch - addressed in versions 2.7.6-4.fc26, 2.7.6-4.fc27, 2.7.6-4.fc28
External References
Related Security Bulletins
- Slackware Linux update for patch
- Red Hat update for patch
- Red Hat update for patch
- SUSE Linux update for patch
- OpenSUSE Linux update for patch
- SUSE Linux update for patch
- Amazon Linux AMI update for patch
- Red Hat update for patch
- Red Hat update for patch
- Red Hat update for patch
- Red Hat update for patch
- Red Hat update for patch
- Red Hat update for patch
- Red Hat update for patch
- Arch Linux update for patch
- Gentoo update for Patch
- Arch Linux update for patch
- Debian update for patch
- Amazon Linux AMI update for patch
- Improper input validation in patch (Alpine package)
- Fedora 28 update for patch
- Fedora 27 update for patch
- Fedora 26 update for patch