Name | CVE-2018-6952 |
Description | A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
patch (PTS) | jessie, jessie (lts) | 2.7.5-1+deb8u3 | vulnerable |
| stretch (security), stretch (lts), stretch | 2.7.5-1+deb9u2 | vulnerable |
| buster (security), buster, buster (lts) | 2.7.6-3+deb10u1 | vulnerable |
| sid, trixie, bullseye, bookworm | 2.7.6-7 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
patch | source | (unstable) | (unfixed) | unimportant | | |
Notes
https://savannah.gnu.org/bugs/index.php?53133
https://git.savannah.gnu.org/cgit/patch.git/commit/?id=9c986353e420ead6e706262bf204d6e03322c300
When fixing this issue make sure to not apply only the incomplete fix,
and opening CVE-2019-20633, cf. https://savannah.gnu.org/bugs/index.php?56683
Crash in CLI tool, no security impact