Ubuntu update for libarchive



Published: 2020-03-03
Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2019-19221
CVE-2020-9308
CWE-ID CWE-125
CWE-119
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
libarchive (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Out-of-bounds read

EUVDB-ID: #VU22931

Risk: Medium

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

CVE-ID: CVE-2019-19221

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in "archive_wstring_append_from_mbs" in "archive_string.c" because of an incorrect "mbrtowc" or "mbtowc" call. A remote attacker can create a specially crafted archive file, trick the victim into opening it, trigger out-of-bounds read error and read contents of memory on the system.

Mitigation

Update the affected packages.

Ubuntu 19.10
libarchive13 - 3.4.0-1ubuntu0.1
Ubuntu 18.04 LTS
libarchive13 - 3.2.2-3.1ubuntu0.6
Ubuntu 16.04 LTS
libarchive13 - 3.1.2-11ubuntu0.16.04.8

Vulnerable software versions

libarchive (Ubuntu package): 3.1.2-11ubuntu0.16.04.1 - 3.2.2-3.1ubuntu0.5

External links

http://usn.ubuntu.com/4293-1/


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.

2) Buffer overflow

EUVDB-ID: #VU25750

Risk: High

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

CVE-ID: CVE-2020-9308

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

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

The vulnerability exists due to a boundary error when processing RAR5 files in archive_read_support_format_rar5.c in libarchive. A remote attacker can create a specially crafted RAR5 file, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected packages.

Ubuntu 19.10
libarchive13 - 3.4.0-1ubuntu0.1
Ubuntu 18.04 LTS
libarchive13 - 3.2.2-3.1ubuntu0.6
Ubuntu 16.04 LTS
libarchive13 - 3.1.2-11ubuntu0.16.04.8

Vulnerable software versions

libarchive (Ubuntu package): 3.1.2-11ubuntu0.16.04.1 - 3.2.2-3.1ubuntu0.5

External links

http://usn.ubuntu.com/4293-1/


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