CVE-2021-28657 Infinite loop in Apache Tika's MP3 parser

Medium 5.5 Published Updated

An attacker can cause a denial of service via an infinite loop in the MP3 parser by providing a crafted or corrupt file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-28657?

CVE-2021-28657 is a medium-severity denial of service vulnerability in Oracle Primavera Unifier, published on 31 Mar 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A carefully crafted or corrupt file may trigger an infinite loop in Tika's MP3Parser up to and including Tika 1.25. Apache Tika users should upgrade to 1.26 or later.

Weakness: CWE-835

Which versions are affected by CVE-2021-28657?

2 open source packages ship an affected version, including org.apache.tika:tika. It affects 5 products.

PackageAffectedFixed in
org.apache.tika:tika MavenAll versions1.26
org.apache.tika:tika MavenAll versions1.26

Products include Apache Tika, Oracle Communications Messaging Server, Oracle Healthcare Foundation, Oracle Primavera Unifier, Oracle Webcenter Portal.

How do I fix CVE-2021-28657?

Upgrade org.apache.tika:tika to 1.26 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-2021-28657 being exploited?

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

All Oracle Primavera Unifier vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-28657, GHSA-567x-m4wm-87v8, UBUNTU-CVE-2021-28657.

Is CVE-2021-28657 in your software?

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

Check your SBOMs for free