Name | CVE-2019-13638 |
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. |
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