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 CVE-2019-13638, but the ! syntax is specific to ed, and is
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 2.68% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 85.7% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2019-08-16 03:36Z7 YR AGO
- Last updated
- 2024-08-05 12:19Z2 YR AGO
- Reserved
- 2019-08-15
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')Base
- Data version
- 5.1
- Document digest
- 52718a05814403c966fe2aa700fbf26e99ee2aee52a8ded35b987ac366ab73db
05 Affected products
06 References
- git.savannah.gnu.orghttps://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0
- seclists.org20190816 Details about recent GNU patch vulnerabilitieshttps://seclists.org/bugtraq/2019/Aug/29
- packetstormsecurity.comhttp://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html
- github.comhttps://github.com/irsl/gnu-patch-vulnerabilities
- access.redhat.comRHSA-2019:2798https://access.redhat.com/errata/RHSA-2019:2798
- access.redhat.comRHSA-2019:2964https://access.redhat.com/errata/RHSA-2019:2964
- access.redhat.comRHSA-2019:3757https://access.redhat.com/errata/RHSA-2019:3757
- access.redhat.comRHSA-2019:3758https://access.redhat.com/errata/RHSA-2019:3758
- access.redhat.comRHSA-2019:4061https://access.redhat.com/errata/RHSA-2019:4061
07 Fixed in
Debian 12
- patch Fixed in 2.7.6-5
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- patch Fixed in 2.7.6-5
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- patch Fixed in 2.7.6-5
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- patch Fixed in 2.7.5-1ubuntu0.16.04.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- patch Fixed in 2.7.6-2ubuntu1.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- patch Fixed in 2.7.1-4ubuntu2.4+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.