Every CVE Search/ Get API key

CVE-2021-28657

Infinite loop in Apache Tika's MP3 parser

5.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

2.74%Up 1.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

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.

Record
CVE-2021-28657
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-835
Updated
2026-11-02
CVE List No score

Infinite loop in Apache Tika's MP3 parser

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.

Record
CVE-2021-28657
Weakness
CWE-835
Updated
2026-11-02
EUVDEUVD-2021-0949 0.0

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.

Record
EUVD-2021-0949
CVSS
0.0 NoneCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-567x-m4wm-87v8 5.5

Infinite loop in Apache Tika

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.

Record
GHSA-567x-m4wm-87v8
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-400, CWE-835
Updated
2026-11-02
OSV 5.5

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.

Record
CVE-2021-28657
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-28657 5.5

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.

Record
DEBIAN-CVE-2021-28657
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVGHSA-567x-m4wm-87v8 5.5

Infinite loop in Apache Tika

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.

Record
GHSA-567x-m4wm-87v8
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-400, CWE-835
Updated
2026-11-02
OSVUBUNTU-CVE-2021-28657 5.5

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.

Record
UBUNTU-CVE-2021-28657
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVSUSE-SU-2021:2098-1 No score

Security update for SUSE Manager Server 4.1

This update fixes the following issues:

cobbler:

  • Make fence_ipmitool a wrapper for fence_ipmilan using always lanplus. (bsc#1184361)
  • Remove unused template for fence_ipmitool.
  • Prevent some race conditions when writting tftpboot files and the destination directory is not existing. (bsc#1186124)
  • Fix trail stripping in case of using UTF symbols. (bsc#1184561)

golang-github-prometheus-node_exporter:

  • Update to 1.1.2
    • Bug fixes
      • Handle errors from disabled PSI subsystem
      • Sanitize strings from /sys/class/power_supply
      • Silence missing netclass errors
      • Fix ineffassign issue
      • Fix some noisy log lines
      • filesystem_freebsd: Fix label values
      • Fix various procfs parsing errors
      • Handle no data from powersupplyclass
      • udp_queues_linux.go: change upd to udp in two error strings
      • Fix node_scrape_collector_success behaviour
      • Fix NodeRAIDDegraded to not use a string rule expressions
      • Fix node_md_disks state label from fail to failed
      • Handle EPERM for syscall in timex collector
      • bcache: fix typo in a metric name
      • Fix XFS read/write stats
    • Changes
      • Improve filter flag names
      • Add btrfs and powersupplyclass to list of exporters enabled by default
    • Features
      • Add fibre channel collector
      • Expose cpu bugs and flags as info metrics
      • Add network_route collector
      • Add zoneinfo collector
    • Enhancements
      • Add more InfiniBand counters
      • Add flag to aggr ipvs metrics to avoid high cardinality metrics
      • Adding backlog/current queue length to qdisc collector
      • Include TCP OutRsts in netstat metrics
      • Add pool size to entropy collector
      • Remove CGO dependencies for OpenBSD amd64
      • bcache: add writeback_rate_debug status
      • Add check state for mdadm arrays via node_md_state metric
      • Expose XFS inode statistics
      • Expose zfs zpool state
      • Added an ability to pass collector.supervisord.url via SUPERVISORD_URL environment variable
  • Do not include sources (bsc#1151558)
  • Remove rc symlink

grafana-formula:

  • Fix Grafana dashboards requiring single series (bsc#1184471)

patterns-suse-manager:

  • Add require for py27-compat-salt (salt 3002 does not provide python2-salt anymore)

prometheus-exporter-formula:

  • Add support for schema migration (bsc#1186025)

pxe-yomi-image-sle15:

  • Remove PermitEmptyPasswords from SSH config (Fix bsc#1182744)

py26-compat-salt:

  • Prevent command injection in the snapper module (bsc#1185281) (CVE-2021-31607)

spacewalk-admin:

  • Stop jabberd when osa-dispatcher is enabled (bsc#1185042)

spacewalk-backend:

  • Fix binary blob corruptions in tradidional config file deployment (bsc#1183864)
  • Fix for GPG checking on synchonizing mirrored dpkg repo (bsc#1184351)
  • switch to www group for satellite logs (bsc#1185097)
  • Fail traditional errata and package actions when they act on retracted items
  • Add advisory_status to reposync and ISS
  • Add minrate/timeout configuration values for downloading DEB/RPM packages

spacewalk-branding:

  • Add the CSS class for retracted errata/packages

spacewalk-certs-tools:

  • Add support of DISABLE_LOCAL_REPOS=0 for salt minions (bsc#1185568)
  • Add missing environment variable SALT_RUNNING for pkg module to the minion configuration
  • Fix typo: activaion -> activation

spacewalk-java:

  • Change Prometheus exporters formula data schema to make it more generic and extendable
  • Do not require advisory_status to be set in ErrataHandler.create (bsc#1185965)
  • Speed up pages to compare or add packages to channels (bsc#1178767)
  • Bugfix: Remove the unneeded check that was stopping updating a virtual instance type (bsc#1180673)
  • Exclude minions from the list of locally-managed/sandbox systems when copying config files (bsc#1184940)
  • Lower case fqdn comparation when calculating minion connection path (bsc#1184849)
  • Bugfix: Retracted Patches: Filter minion correctly when executing package install (bsc#1184929)
  • Implement retracted…
Record
SUSE-SU-2021:2098-1
Updated
2026-11-02
OSVSUSE-SU-2021:2114-1 No score

Security update for SUSE Manager Server 4.0

This update fixes the following issues:

cobbler:

  • Make 'fence_ipmitool' a wrapper for 'fence_ipmilan' using always lanplus (bsc#1184361)
  • Remove unused template for fence_ipmitool.
  • Prevent some race conditions when writing tftpboot files and the destination directory is not existing (bsc#1186124)
  • Fix trail stripping in case of using UTF symbols (bsc#1184561)

grafana-formula:

  • Fix Grafana dashboards requiring single series (bsc#1184471)

patterns-suse-manager:

  • Add require for py27-compat-salt (salt 3002 does not provide python2-salt anymore)

prometheus-exporters-formula:

  • Move exporters configurations to dedicated group prometheus_exporters
  • Add formula data schema migration script
  • This version changes the formula data schema and is not backwards compatible. Downgrading from this version will require reconfiguring the formula for all your minions.
  • Add Ubuntu support for Prometheus exporters' reverse proxy

pxe-default-image-sle15:

  • Adapt rpm-properties.xml for containment-rpm-pxe v0.2.1 and newer

py26-compat-salt:

  • Prevent command injection in the snapper module (bsc#1185281) (CVE-2021-31607)

spacewalk-backend:

  • Maintainer field in debian packages are only recommended (bsc#1186508)
  • Switch to www group for satellite logs (bsc#1185097)

spacewalk-java:

  • Change Prometheus exporters formula data schema to make it more generic and extendable
  • Adapt logging for testing accessability of URLs (bsc#1182817)
  • Fix problem reading product_tree.json from wrong location in offline setups (bsc#1184283)
  • For a SUSE system get metadata and package from same source (bsc#1184475)
  • Check if the directory exists prior to modular data cleanup (bsc#1184311)
  • Assign right base product for res8 (bsc#1184005)
  • Fix check for for mirrorlist URLs when refreshing products (bsc#1184861)

spacewalk-utils:

  • Bugfix for ubuntu-18.04 repo urls: multiverse, restricted and backports
  • Add multiverse, restricted and backports to Ubuntu 16.04, 18.04 and 20.04

spacewalk-web:

  • Update the WebUI version to 4.0.14

susemanager:

  • Add python3-pycryptodome to Ubuntu 18 and 20 bootstrap repos (bsc#1186346)
  • Require gio-branding-SLE for SLE15 but not for openSUSE Leap 15
  • Add python3-distro to RES8, SLE15 and Ubuntu20.04 bootstrap repositories to fix bootstrapping issues (bsc#1184332)

susemanager-doc-indexes:

  • Update for Disconnected Setup chapter in Administration Guide

susemanager-docs_en:

  • Update for Disconnected Setup chapter in Administration Guide

susemanager-sls:

  • Do not install python2-salt on Salt 3002.2 Docker build hosts (bsc#1185506)
  • Fix insecure JMX configuration (bsc#1184617)
  • Avoid conflicts with running ioloop on mgr_events engine (bsc#1172711)

tika-core:

  • New upstream version 1.26. Fixes:
    • Infinite loop in the MP3Parser (bsc#1184892, CVE-2021-28657)
    • Out of memory error while loading a file in PDFBox before 2.0.23.
    • Infinite loop while loading a file in PDFBox before 2.0.23.
    • System.exit vulnerability in Tika's OneNote Parser; out of memory errors and/or infinite loops in Tika's ICNSParser, MP3Parser, MP4Parser, SAS7BDATParser, OneNoteParser and ImageParser.
    • Excessive memory usage (DoS) vulnerability in Apache Tika's PSDParser
    • Infinite Loop (DoS) vulnerability in Apache Tika's PSDParser

How to apply this update:

  1. Log in as root user to the SUSE Manager server.
  2. Stop the Spacewalk service: spacewalk-service stop
  3. Apply the patch using either zypper patch or YaST Online Update.
  4. Upgrade the database schema: spacewalk-schema-upgrade
  5. Start the Spacewalk service: spacewalk-service start
Record
SUSE-SU-2021:2114-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.tika:tika
Maven
before 1.25
1.25
tika
Debian:11
All versions, plus listed versions
1.22-21.22-2+deb11u1
None known
org.apache.tika:tika
Maven
before 1.26, plus listed versions
0.20.31.101.111.12
Show 19 moreShow less
1.131.141.151.161.171.181.191.19.11.201.211.221.231.241.24.11.251.61.71.81.9
1.26
cobbler
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 3.0.0+git20190806.32c4bae0-5.11.1
3.0.0+git20190806.32c4bae0-5.11.1
golang-github-prometheus-node_exporter
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 1.1.2-3.6.5
1.1.2-3.6.5
grafana-formula
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 0.4.1-3.9.2
0.4.1-3.9.2
patterns-suse-manager
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 4.1-6.9.2
4.1-6.9.2
prometheus-exporters-formula
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 0.9.1-3.22.1
0.9.1-3.22.1
py26-compat-salt
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 2016.11.10-6.14.2
2016.11.10-6.14.2
py27-compat-salt
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 3000.3-6.3.2
3000.3-6.3.2
Show 40 moreShow less
Affected packages
PackageAffectedFixed
spacewalk-admin
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 4.1.9-3.12.2
4.1.9-3.12.2
spacewalk-backend
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 4.1.25-4.32.6
4.1.25-4.32.6
spacewalk-branding
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 4.1.12-3.12.2
4.1.12-3.12.2
spacewalk-certs-tools
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 4.1.17-3.17.2
4.1.17-3.17.2
spacewalk-java
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 4.1.36-3.44.1
4.1.36-3.44.1
spacewalk-utils
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 4.1.16-3.18.2
4.1.16-3.18.2
spacewalk-web
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 4.1.26-3.24.8
4.1.26-3.24.8
susemanager
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 4.1.26-3.25.1
4.1.26-3.25.1
susemanager-build-keys
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 15.2.4-3.17.1
15.2.4-3.17.1
susemanager-doc-indexes
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 4.1-11.34.8
4.1-11.34.8
susemanager-docs_en
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 4.1-11.34.2
4.1-11.34.2
susemanager-schema
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 4.1.21-3.30.6
4.1.21-3.30.6
susemanager-sls
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 4.1.28-3.42.1
4.1.28-3.42.1
susemanager-sync-data
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 4.1.14-3.23.2
4.1.14-3.23.2
tika-core
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 1.26-3.5.2
1.26-3.5.2
uyuni-common-libs
SUSE:Manager Server Module 4.1
From an advisory covering 2 CVEs
before 4.1.8-3.9.1
4.1.8-3.9.1
cobbler
SUSE:Manager Server Module 4.0
From an advisory covering 2 CVEs
before 3.0.0+git20190806.32c4bae0-7.22.3
3.0.0+git20190806.32c4bae0-7.22.3
grafana-formula
SUSE:Manager Server Module 4.0
From an advisory covering 2 CVEs
before 0.2.3-4.16.3
0.2.3-4.16.3
patterns-suse-manager
SUSE:Manager Server Module 4.0
From an advisory covering 2 CVEs
before 4.0-9.19.3
4.0-9.19.3
prometheus-exporters-formula
SUSE:Manager Server Module 4.0
From an advisory covering 2 CVEs
before 0.7.6-3.19.3
0.7.6-3.19.3
pxe-default-image-sle15
SUSE:Manager Server Module 4.0
From an advisory covering 2 CVEs
before 4.0.1-20210621145802
4.0.1-20210621145802
py26-compat-salt
SUSE:Manager Server Module 4.0
From an advisory covering 2 CVEs
before 2016.11.10-10.28.3
2016.11.10-10.28.3
py27-compat-salt
SUSE:Manager Server Module 4.0
From an advisory covering 2 CVEs
before 3000.3-4.3.3
3000.3-4.3.3
spacewalk-backend
SUSE:Manager Server Module 4.0
From an advisory covering 2 CVEs
before 4.0.38-3.47.4
4.0.38-3.47.4
spacewalk-java
SUSE:Manager Server Module 4.0
From an advisory covering 2 CVEs
before 4.0.44-3.57.5
4.0.44-3.57.5
spacewalk-utils
SUSE:Manager Server Module 4.0
From an advisory covering 2 CVEs
before 4.0.21-3.30.3
4.0.21-3.30.3
spacewalk-web
SUSE:Manager Server Module 4.0
From an advisory covering 2 CVEs
before 4.0.28-3.45.1
4.0.28-3.45.1
susemanager
SUSE:Manager Server Module 4.0
From an advisory covering 2 CVEs
before 4.0.34-3.52.3
4.0.34-3.52.3
susemanager-doc-indexes
SUSE:Manager Server Module 4.0
From an advisory covering 2 CVEs
before 4.0-10.36.4
4.0-10.36.4
susemanager-docs_en
SUSE:Manager Server Module 4.0
From an advisory covering 2 CVEs
before 4.0-10.36.3
4.0-10.36.3
susemanager-sls
SUSE:Manager Server Module 4.0
From an advisory covering 2 CVEs
before 4.0.35-3.48.3
4.0.35-3.48.3
tika-core
SUSE:Manager Server Module 4.0
From an advisory covering 2 CVEs
before 1.26-3.6.3
1.26-3.6.3
tika
Ubuntu:16.04:LTS
All versions, plus listed versions
1.5-21.5-31.5-41.5-4ubuntu0.1
None known
tika
Ubuntu:18.04:LTS
All versions, plus listed versions
1.5-5
None known
tika
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
1.22-11.22-1ubuntu0.1~esm11.22-1ubuntu0.1~esm21.22-1ubuntu0.1~esm3
None known
tika
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
1.22-21.22-2ubuntu0.22.04.1~esm11.22-2+deb11u1build0.22.04.11.22-2+deb11u1ubuntu0.1~esm11.22-2+deb11u1ubuntu0.1~esm2
None known
tika
Ubuntu:24.04:LTS
All versions, plus listed versions
1.22-2
None known
tika
Ubuntu:25.10
All versions, plus listed versions
1.22-2
None known
tika
Ubuntu:26.10
All versions, plus listed versions
1.22-2
None known
tika
Ubuntu:26.04:LTS
All versions, plus listed versions
1.22-2
None known

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-28657 is a medium vulnerability (CVSS 5.5) in Apache Tika, published March 31, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.74%, the 86th percentile. Fixed in org.apache.tika:tika 1.25.

References

Show 50 moreShow less
This page doesn't list everything

Left out here: the rest of 1 source description. The JSON record has them.

MoveEnter Open