LowGHSA-6q8v-2hvm-fx37CVE-2022-33879
Apache Tika contains incomplete fix for regex DoS
Published 28 Jun 2022 · Updated 8 Dec 2024
Is your project on an affected org.apache.tika:tika?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
org.apache.tika:tikaMaven
- Affected
- <1.28.4
- Fixed in
- 1.28.4
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.apache.tika:tika -DdepVersion=1.28.4 -DforceVersion=trueorg.apache.tika:tikaMaven
- Affected
- >=2.0.0 <2.4.1
- Fixed in
- 2.4.1
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.apache.tika:tika -DdepVersion=2.4.1 -DforceVersion=trueDetails
The initial fixes in CVE-2022-30126 and CVE-2022-30973 for regexes in the StandardsExtractingContentHandler were insufficient, and we found a separate, new regex DoS in a different regex in the StandardsExtractingContentHandler. These are now fixed in 1.28.4 and 2.4.1.
Is GHSA-6q8v-2hvm-fx37 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
- MediumCVE-2022-25169Apache Tika vulnerable to uncontrolled memory consumption · 17 May 2022
- MediumCVE-2021-28657Infinite loop in Apache Tika · 10 May 2021
- MediumCVE-2020-1951Infinite Loop in Apache Tika · 7 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
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.