CVE-2019-13638
JSON

7.8high

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…

Severity
7.8high CVSS:3.0 by NVD
Exploit likelihood
4.53% (higher than 91% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

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 metacharacters. The ed editor does not need to be present on the vulnerable system. This is different from CVE-2018-1000156.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
gnu patch2.7.6NVD
debian debian_linux8.0, 9.0, 10.0NVD

All scores

NVD7.8high CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD9.3high CVSS:2.0AV:N/AC:M/Au:N/C:C/I:C/A:C

Classification

What each source says

CVE List

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 metacharacters. The ed editor does not need to be present on the vulnerable system. This is different from CVE-2018-1000156.

NVD (es)

RouterOS de Mikrotik anterior a versión 6.44.5 (árbol de actualizaciones a largo plazo) es vulnerable al agotamiento de la memoria. Mediante el envío de una petición HTTP diseñada, un atacante remoto autenticado puede bloquear el servidor HTTP y, en algunas circunstancias, reiniciar el sistema. El código no puede ser inyectado.

References

https://security-tracker.debian.org/tracker/CVE-2019-13638third-party-advisory
https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0mailing-list, patch, vendor-advisory
https://www.debian.org/security/2019/dsa-4489third-party-advisory, vendor-advisory
https://seclists.org/bugtraq/2019/Jul/54mailing-list, third-party-advisory
https://seclists.org/bugtraq/2019/Aug/29mailing-list
http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html
https://security.gentoo.org/glsa/201908-22vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVWWGISFWACROJJPVJJL4UBLVZ7LPOLT/vendor-advisory
https://security.netapp.com/advisory/ntap-20190828-0001/
https://github.com/irsl/gnu-patch-vulnerabilities
https://access.redhat.com/errata/RHSA-2019:2798vendor-advisory
https://access.redhat.com/errata/RHSA-2019:2964vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2019-13638 changed 2024-08-04CVE Terms of Use
NVDCVE-2019-13638 changed 2026-06-17Public domain