CVE-2020-29245 dhowden tag panic due to out-of-bounds read

Medium 6.5 Published Updated

A crafted ID3 tag causes a runtime panic in the dhowden tag library, leading to a denial of service in applications using it.

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-29245?

CVE-2020-29245 is a medium-severity denial of service vulnerability in n/a, published on 28 Dec 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

dhowden tag before 2020-11-19 allows "panic: runtime error: slice bounds out of range" via readAtomData.

Weakness: CWE-129

Which versions are affected by CVE-2020-29245?

2 open source packages ship an affected version, including github.com/dhowden/tag. It affects 1 product.

PackageAffectedFixed in
github.com/dhowden/tag GoAll versions0.0.0-20201120070457-d52dcb253c63
github.com/dhowden/tag GoAll versions0.0.0-20201120070457-d52dcb253c63

Products include Tag Project Tag.

How do I fix CVE-2020-29245?

Upgrade github.com/dhowden/tag to 0.0.0-20201120070457-d52dcb253c63 or later.

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-29245 being exploited?

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

Sources

Also known as GHSA-wg79-2cgp-qrjm.

Is CVE-2020-29245 in your software?

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

Check your SBOMs for free