Medium severity · published Dec 22, 2021
CVE-2021-45261
An Invalid Pointer vulnerability exists in GNU patch 2.7 via the another_hunk function, which causes a Denial of Service
5.5
CVSS
0.8%
EPSS
No
On KEV
Description
An Invalid Pointer vulnerability exists in GNU patch 2.7 via the another_hunk function, which causes a Denial of Service.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 55% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PA
Patch · Gnu
2.7 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-45261
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-45261
Exploit
https://savannah.gnu.org/bugs/?61685
More from Patch
7.8
CVE-2018-20969
do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character
7.8
CVE-2019-13638
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…
7.8
CVE-2018-1000156
GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation (using ed) can result in code execution
7.5
CVE-2015-1396
A Directory Traversal vulnerability exists in the GNU patch before 2.7.4
7.5
CVE-2018-6952
A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6
