Path traversal in graphicsmagick (Alpine package)



Published: 2020-03-31
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-12921
CWE-ID CWE-22
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
graphicsmagick (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Path traversal

EUVDB-ID: #VU26485

Risk: Medium

CVSSv3.1: 5.9 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2019-12921

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences within TranslateTextEx component for processing SVG images in GraphicsMagick. A remote attacker can create a specially crafted SVG file and read contents of arbitrary files on the system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

graphicsmagick (Alpine package): 1.3.21-r0 - 1.3.34-r0

External links

http://git.alpinelinux.org/aports/commit/?id=d0ff5181c1c8b82644c23b856065eb40b0811dc3
http://git.alpinelinux.org/aports/commit/?id=6b4a2e3bab6c54afe6722bda8e75833c8d80778b


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. However, proof of concept for this vulnerability is available.



###SIDEBAR###