CVE-2019-18408 Use after free in n/a
A use-after-free vulnerability in libarchive allows attackers to execute arbitrary code or cause a denial of service via crafted RAR archives.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-18408?
CVE-2019-18408 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 24 Oct 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
archive_read_format_rar_read_data in archive_read_support_format_rar.c in libarchive before 3.4.0 has a use-after-free in a certain ARCHIVE_FAILED situation, related to Ppmd7_DecodeSymbol.
Weakness: CWE-416
Which versions are affected by CVE-2019-18408?
It affects 3 products.
Linux distribution packages (40)
bsdcpio Red Hat:enterprise_linux:7::client | All versions | 0:3.1.2-14.el7_7 |
bsdtar Red Hat:enterprise_linux:7::client | All versions | 0:3.1.2-14.el7_7 |
libarchive Red Hat:enterprise_linux:7::client | All versions | 0:3.1.2-14.el7_7 |
libarchive-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:3.1.2-14.el7_7 |
libarchive-devel Red Hat:enterprise_linux:7::client | All versions | 0:3.1.2-14.el7_7 |
bsdcpio Red Hat:enterprise_linux:7::computenode | All versions | 0:3.1.2-14.el7_7 |
bsdtar Red Hat:enterprise_linux:7::computenode | All versions | 0:3.1.2-14.el7_7 |
libarchive Red Hat:enterprise_linux:7::computenode | All versions | 0:3.1.2-14.el7_7 |
libarchive-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:3.1.2-14.el7_7 |
libarchive-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:3.1.2-14.el7_7 |
bsdcpio Red Hat:enterprise_linux:7::server | All versions | 0:3.1.2-14.el7_7 |
bsdtar Red Hat:enterprise_linux:7::server | All versions | 0:3.1.2-14.el7_7 |
libarchive Red Hat:enterprise_linux:7::server | All versions | 0:3.1.2-14.el7_7 |
libarchive-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:3.1.2-14.el7_7 |
libarchive-devel Red Hat:enterprise_linux:7::server | All versions | 0:3.1.2-14.el7_7 |
bsdcpio Red Hat:enterprise_linux:7::workstation | All versions | 0:3.1.2-14.el7_7 |
bsdtar Red Hat:enterprise_linux:7::workstation | All versions | 0:3.1.2-14.el7_7 |
libarchive Red Hat:enterprise_linux:7::workstation | All versions | 0:3.1.2-14.el7_7 |
libarchive-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:3.1.2-14.el7_7 |
libarchive-devel Red Hat:enterprise_linux:7::workstation | All versions | 0:3.1.2-14.el7_7 |
bsdcat-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:3.3.2-8.el8_1 |
bsdcpio-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:3.3.2-8.el8_1 |
bsdtar Red Hat:enterprise_linux:8::baseos | All versions | 0:3.3.2-8.el8_1 |
bsdtar-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:3.3.2-8.el8_1 |
libarchive Red Hat:enterprise_linux:8::baseos | All versions | 0:3.3.2-8.el8_1 |
libarchive-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:3.3.2-8.el8_1 |
libarchive-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:3.3.2-8.el8_1 |
bsdcat-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:3.3.2-8.el8_1 |
bsdcpio-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:3.3.2-8.el8_1 |
bsdtar-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:3.3.2-8.el8_1 |
libarchive-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:3.3.2-8.el8_1 |
libarchive-debugsource Red Hat:enterprise_linux:8::crb | All versions | 0:3.3.2-8.el8_1 |
libarchive-devel Red Hat:enterprise_linux:8::crb | All versions | 0:3.3.2-8.el8_1 |
bsdcat-debuginfo Red Hat:rhel_e4s:8.0::baseos | All versions | 0:3.3.2-4.el8_0 |
bsdcpio-debuginfo Red Hat:rhel_e4s:8.0::baseos | All versions | 0:3.3.2-4.el8_0 |
bsdtar Red Hat:rhel_e4s:8.0::baseos | All versions | 0:3.3.2-4.el8_0 |
bsdtar-debuginfo Red Hat:rhel_e4s:8.0::baseos | All versions | 0:3.3.2-4.el8_0 |
libarchive Red Hat:rhel_e4s:8.0::baseos | All versions | 0:3.3.2-4.el8_0 |
libarchive-debuginfo Red Hat:rhel_e4s:8.0::baseos | All versions | 0:3.3.2-4.el8_0 |
libarchive-debugsource Red Hat:rhel_e4s:8.0::baseos | All versions | 0:3.3.2-4.el8_0 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Libarchive Libarchive.
How do I fix CVE-2019-18408?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2019-18408 being exploited?
There is no known exploitation of CVE-2019-18408 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2019-18408, DEBIAN-CVE-2019-18408, DLA-1971-1, DSA-4557-1, GHSA-4hj2-55w3-4qwh, RHSA-2020:0203 and 4 more.