Use-after-free in libarchive (Alpine package)



Published: 2019-10-31
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-18408
CWE-ID CWE-416
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
libarchive (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Use-after-free

EUVDB-ID: #VU22332

Risk: High

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

CVE-ID: CVE-2019-18408

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error within the archive_read_format_rar_read_data() function in archive_read_support_format_rar.c in libarchive when handling certain ARCHIVE_FAILED situation, related to Ppmd7_DecodeSymbol. A remote attacker can create a specially crafted archive, pass it to the affected application trigger a use-after-free error and crash the application or execute arbitrary code on the target system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

libarchive (Alpine package): 3.0.2-r0 - 3.4.0-r0

CPE2.3 External links

http://git.alpinelinux.org/aports/commit/?id=02b0001e987edf632c25303d284508c6e8702a16
http://git.alpinelinux.org/aports/commit/?id=05f80bc8c49760714cad169f99ea7962086e3048
http://git.alpinelinux.org/aports/commit/?id=3d9a3dc5dd0d1828bd2675f6596bd5a748acad9b
http://git.alpinelinux.org/aports/commit/?id=1d79155e9beac31b949f29acb3ae3a9a7a7b6edb
http://git.alpinelinux.org/aports/commit/?id=2fd4d3cdac0b6fe47662ae7063ecc0dbb5f1189e
http://git.alpinelinux.org/aports/commit/?id=b4b6746d1b8a622f25d0a49940777c260057f980
http://git.alpinelinux.org/aports/commit/?id=ccb5121a91f694dcd292b52d118a6230ced3d6e4


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###