CVE-2019-13638

patch: OS shell command injection when processing crafted patch files

Published Jul 26, 2019 CVSS 3.0 · 7.8 High EPSS 4.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1864-1 patch security update
Debian DSA Debian DSA DSA-4489-1 patch security update
EUVD EUVD EUVD-2019-5066 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.
Ubuntu USN Ubuntu USN USN-4071-1 Patch vulnerabilities
Ubuntu USN Ubuntu USN USN-4071-2 Patch vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 11:57 PM
Reserved
Jul 17, 2019, 12:00 AM
Status
Modified
Published
Jul 26, 2019, 1:15 PM
Modified
Jun 17, 2026, 2:17 AM
Severity
Important
Public date
Jul 29, 2019, 12:00 AM