MediumGHSA-3264-3fm9-fg44CVE-2020-1951

Infinite Loop in Apache Tika

Published 7 May 2021 · Updated 21 Feb 2024

Is your project on an affected org.apache.tika:tika?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=1.0 <1.24
Fixed in
1.24
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.tika:tika -DdepVersion=1.24 -DforceVersion=true

Details

A carefully crafted or corrupt PSD file can cause an infinite loop in Apache Tika's PSDParser in versions 1.0-1.23.

Is GHSA-3264-3fm9-fg44 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.tika:tika, and gives you the command that fixes it.

More advisories for org.apache.tika:tika

  • LowCVE-2022-33879Apache Tika contains incomplete fix for regex DoS · 28 Jun 2022
  • MediumCVE-2022-25169Apache Tika vulnerable to uncontrolled memory consumption · 17 May 2022
  • MediumCVE-2021-28657Infinite loop in Apache Tika · 10 May 2021
  • MediumCVE-2020-1950Uncontrolled Resource Consumption in Apache Tika · 7 May 2021
  • MediumCVE-2020-9489Missing Release of Memory after Effective Lifetime in Apache Tika · 7 May 2021
org.apache.tika:tika security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.