Name | CVE-2018-20969 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1864-1, DSA-4489-1, ELA-147-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
patch (PTS) | jessie, jessie (lts) | 2.7.5-1+deb8u3 | fixed |
stretch (security), stretch (lts), stretch | 2.7.5-1+deb9u2 | fixed | |
buster (security), buster, buster (lts) | 2.7.6-3+deb10u1 | fixed | |
sid, trixie, bullseye, bookworm | 2.7.6-7 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
patch | source | wheezy | 2.6.1-3+deb7u3 | ELA-147-1 | ||
patch | source | jessie | 2.7.5-1+deb8u3 | DLA-1864-1 | ||
patch | source | stretch | 2.7.5-1+deb9u2 | DSA-4489-1 | ||
patch | source | buster | 2.7.6-3+deb10u1 | DSA-4489-1 | ||
patch | source | (unstable) | 2.7.6-5 |
https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0