buildroot ▾
›
master ▾
›
vulnerability
›
CVE-2018-20969
Component Overview
Vulnerability Overview
Name
CVE-2018-20969
Source
NVD (
link
)
Debian (
link
)
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.
CWEs
CWE-78
Published Date
Aug 16, 2019
Updated Date
Jun 17, 2026
Workaround
-
Advisories
http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html
VDB Entry
https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0
Patch
https://seclists.org/bugtraq/2019/Aug/29
Exploit
http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html
VDB Entry
https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0
Patch
https://seclists.org/bugtraq/2019/Aug/29
Exploit
Analysis
#
Affected Component
Analysis
patch
Patched
Vulnerability Ratings
#
7.8
other
9.3
CVSSv2
Others affected components
#
Name
Project
Project Version
Version
Status
patch
buildroot
2025.02.x
2.7.6
Patched
patch
openwrt
master
2.8-r1
Not Affected
patch
openwrt
openwrt-25.12
2.8-r1
Not Affected
patch
yocto
kirkstone
2.7.6
Patched
patch
yocto
master
2.8
Not Affected
patch
yocto
scarthgap
2.7.6
Patched
Resolved with patches
#
patch (buildroot:2025.02.x)
#
Title
Author
Resolve
1
Invoke ed directly instead of using the shell
Andreas Gruenbacher <agruen@gnu.org>
CVE-2018-20969
CVE-2019-13638
patch (buildroot:master)
#
Title
Author
Resolve
1
Invoke ed directly instead of using the shell
Andreas Gruenbacher <agruen@gnu.org>
CVE-2018-20969
CVE-2019-13638
patch (yocto:kirkstone)
#
Title
Author
Resolve
1
Invoke ed directly instead of using the shell
Andreas Gruenbacher <agruen@gnu.org>
CVE-2018-20969
CVE-2019-13638
patch (yocto:scarthgap)
#
Title
Author
Resolve
1
Invoke ed directly instead of using the shell
Andreas Gruenbacher <agruen@gnu.org>
CVE-2018-20969
CVE-2019-13638