Back
CVE-2018-20969
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…
High7.8EPSS 2.7%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.7% · top 14% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
n/a
- affected n/a
References (9)
- https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0 (opens in a new tab)x_refsource_MISCx_transferred
- 20190816 Details about recent GNU patch vulnerabilities (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/irsl/gnu-patch-vulnerabilities (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2019:2798 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:2964 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:3757 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:3758 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:4061 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-20969)Record last updated .