CVE-2020-18899 Denial of service in n/a

Medium 6.5 Published Updated

Attackers can cause a denial of service in applications using Exiv2 by providing crafted input that triggers uncontrolled memory allocation.

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
Available

What is CVE-2020-18899?

CVE-2020-18899 is a medium-severity denial of service vulnerability in Exiv2 Exiv2, published on 19 Aug 2021. 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

An uncontrolled memory allocation in DataBufdata(subBox.length-sizeof(box)) function of Exiv2 0.27 allows attackers to cause a denial of service (DOS) via a crafted input.

Weakness: CWE-770

Which versions are affected by CVE-2020-18899?

1 open source package ship an affected version, including exiv2. It affects 1 product.

PackageAffectedFixed in
exiv2 PyPIAll versionsNone

Products include Exiv2 Exiv2.

How do I fix CVE-2020-18899?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2020-18899 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-18899 exists.

All Exiv2 Exiv2 vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-18899, GHSA-44mj-pwh6-pw78, PYSEC-2021-879.

Is CVE-2020-18899 in your software?

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

Check your SBOMs for free