CVE-2020-21674 Memory corruption in n/a

Medium 6.5 Published Updated

Remote attackers can cause a denial of service via a crafted archive file in the development version of libarchive, affecting only users of the GitHub development code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2020-21674?

CVE-2020-21674 is a medium-severity memory corruption vulnerability in Libarchive Libarchive, published on 15 Oct 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Heap-based buffer overflow in archive_string_append_from_wcs() (archive_string.c) in libarchive-3.4.1dev allows remote attackers to cause a denial of service (out-of-bounds write in heap memory resulting into a crash) via a crafted archive file. NOTE: this only affects users who downloaded the development code from GitHub. Users of the product's official releases are unaffected.

Weakness: CWE-787

Which versions are affected by CVE-2020-21674?

It affects 1 product.

Products include Libarchive Libarchive.

How do I fix CVE-2020-21674?

No fix has been published for CVE-2020-21674 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-21674 being exploited?

There is no known exploitation of CVE-2020-21674 in the wild and no public exploit code.

All Libarchive Libarchive vulnerabilities

Sources

Also known as GHSA-crq5-4m3r-9jx2.

Is CVE-2020-21674 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free