Skip to content
OpenAdvisories
Unscored CVE-2019-13638 EUVD-2019-5066GHSA-vqpq-8jvg-rwmx

GNU patch through 2.7.6 is vulnerable to OS shell command injection that can be exploited by opening a crafted patch file that contains an …

Published Jul 26, 2019 · Updated Aug 4, 2024 · Assigned by mitre

Description

GNU patch through 2.7.6 is vulnerable to OS shell command injection that can be exploited by opening a crafted patch file that contains an ed style diff payload with shell metacharacters. The ed editor does not need to be present on the vulnerable system. This is different from CVE-2018-1000156.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 patch 2.7.6-5 —
Debian 13 patch 2.7.6-5 —
Debian 12 patch 2.7.6-5 —
Debian 10 patch 2.7.6-3+deb10u1 DSA-4489-1
Debian 9 patch 2.7.5-1+deb9u2 DSA-4489-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 8 patch 2.7.5-1+deb8u3 DLA-1864-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS patch 2.7.6-2ubuntu1.1 USN-4071-1
Ubuntu 16.04 LTS patch 2.7.5-1ubuntu0.16.04.2 USN-4071-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS patch 2.7.1-4ubuntu2.4+esm1 USN-4071-2
ReleasePackageFixed inAdvisory
RHEL 8 patch 2.7.6-9.el8_0 RHSA-2019:2798
RHEL 7 patch 2.7.1-12.el7_7 RHSA-2019:2964
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 7.6 EUS patch 2.7.1-11.el7_6 RHSA-2019:3758
RHEL 7.5 EUS patch 2.7.1-11.el7_5 RHSA-2019:3757
RHEL 7.4 TUS patch 2.7.1-11.el7_4 RHSA-2019:4061
RHEL 7.4 E4S patch 2.7.1-11.el7_4 RHSA-2019:4061
RHEL 7.4 AUS patch 2.7.1-11.el7_4 RHSA-2019:4061
ReleasePackageFixed inAdvisory
Alpine v3.24 patch 2.7.6-r6 —
Alpine v3.23 patch 2.7.6-r6 —
Alpine v3.22 patch 2.7.6-r6 —
Alpine v3.21 patch 2.7.6-r6 —
Alpine v3.20 patch 2.7.6-r6 —
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 patch 2.7.6-r6 —
Alpine v3.18 patch 2.7.6-r6 —
Alpine v3.17 patch 2.7.6-r6 —
Alpine v3.16 patch 2.7.6-r6 —
Alpine v3.15 patch 2.7.6-r6 —
Alpine v3.14 patch 2.7.6-r6 —
Alpine v3.13 patch 2.7.6-r6 —
Alpine v3.12 patch 2.7.6-r6 —
Alpine v3.11 patch 2.7.6-r6 —
Alpine v3.10 patch 2.7.6-r6 —
Alpine v3.9 patch 2.7.6-r6 —
Alpine v3.8 patch 2.7.6-r4 —
Alpine v3.7 patch 2.7.6-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 patch 2.7.1-12.amzn2 ALAS2-2019-1317

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 patch 2.7.6-9 —
Azure Linux 2 (CBL-Mariner) patch 2.7.6-7 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 patch 2.7.6-9.el8_0 ELSA-2019-2798
Oracle Linux 7 patch 2.7.1-12.el7_7 ELSA-2019-2964

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling patch 2.7.6-r3 —

Advisories 13

References