Skip to content
OpenAdvisories
Unscored CVE-2018-20969 EUVD-2018-13506GHSA-g5pm-269j-95rr

do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character. NOTE: this is the same commit as for …

Published Aug 16, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character. NOTE: this is the same commit as for CVE-2019-13638, but the ! syntax is specific to ed, and is unrelated to a shell metacharacter.

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 —
Ubuntu 16.04 LTS patch 2.7.5-1ubuntu0.16.04.2 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS patch 2.7.1-4ubuntu2.4+esm1 —
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 11 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 —

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 11

References