OS Command Injection in patch (Alpine package)



Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-13638
CWE-ID CWE-78
Exploitation vector Network
Public exploit N/A
Vulnerable software
patch (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) OS Command Injection

EUVDB-ID: #VU19504

Risk: Low

CVSSv4.0: 4.8 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2019-13638

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to insufficient validation of ed style diff payload with shell metacharacters in patch files. A remote attacker can trick the victim to use a specially crafted patch file and execute arbitrary OS commands.

Mitigation

Install update from vendor's website.

Vulnerable software versions

patch (Alpine package): 2.7.5-r3

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=eb88ff152557254bd38fbe358892d73f97a09e6b
https://git.alpinelinux.org/aports/commit/?id=08cb18d753922eac06c4a8129e25ed4dc7e4c757
https://git.alpinelinux.org/aports/commit/?id=095fae596fc49100874f93b298316eb4f6d24f0f
https://git.alpinelinux.org/aports/commit/?id=8f0728f36ce1e97f76e4da6a8f980538652a78a6
https://git.alpinelinux.org/aports/commit/?id=a7c5a8cafae8eb123b5026d0c83f1af99caac728
https://git.alpinelinux.org/aports/commit/?id=f1460ec84b8cffa5d8fa79602ad97642452e5e5c


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###