CVE-2022-30126
JSON

5.5medium

Apache Tika Regular Expression Denial of Service in Standards Extractor

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
2.25% (higher than 84% of CVEs)
Published
Last changed
Assigned by
apache
Also known as
GHSA-rpjm-422r-95mh

Description

In Apache Tika, a regular expression in our StandardsText class, used by the StandardsExtractingContentHandler could lead to a denial of service caused by backtracking on a specially crafted file. This only affects users who are running the StandardsExtractingContentHandler, which is a non-standard handler. This is fixed in 1.28.2 and 2.4.0

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache Tikafrom Apache Tika up to 1.28.1CVE List
org.apache.tika:tika-core (Maven)from 1.17 before 1.28.2, from 2.0.0 before 2.4.0GitHub Advisory Database
apache tikabefore 1.28.3, from 2.0.0 before 2.4.0NVD
oracle primavera_unifierfrom 17.7 up to 17.12, 18.8, 19.12, 20.12, 21.12NVD

All scores

GitHub5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

In Apache Tika, a regular expression in our StandardsText class, used by the StandardsExtractingContentHandler could lead to a denial of service caused by backtracking on a specially crafted file. This only affects users who are running the StandardsExtractingContentHandler, which is a non-standard handler. This is fixed in 1.28.2 and 2.4.0

GitHub Advisory Database

In Apache Tika, a regular expression in our StandardsText class, used by the StandardsExtractingContentHandler could lead to a denial of service caused by backtracking on a specially crafted file. This only affects users who are running the StandardsExtractingContentHandler, which is a non-standard handler.

This was originally fixed in 1.28.2 and 2.4.0. While the fix in version 2.4.0 was complete, the fix for the 1.x branch wasn't incorporated until version 1.28.3. Please see GHSA-qw3f-w4pf-jh5f for more information.

NVD (es)

En Apache Tika, una expresión regular en nuestra clase StandardsText, usada por el StandardsExtractingContentHandler podría conllevar a una denegación de servicio causada por el backtracking en un archivo especialmente diseñado. Esto sólo afecta a usuarios que ejecutan StandardsExtractingContentHandler, que es un manejador no estándar. Esto ha sido corregido en versiones 1.28.2 y 2.4.0

References

https://lists.apache.org/thread/dh3syg68nxogbmlg13srd6gjn3h2z6r4mailing-list, vendor-advisory, web
http://www.openwall.com/lists/oss-security/2022/05/16/3mailing-list, third-party-advisory, web
http://www.openwall.com/lists/oss-security/2022/05/31/2mailing-list, third-party-advisory, web
http://www.openwall.com/lists/oss-security/2022/06/27/5mailing-list, third-party-advisory, web
https://www.oracle.com/security-alerts/cpujul2022.htmlthird-party-advisory, web
https://security.netapp.com/advisory/ntap-20220624-0004/third-party-advisory
https://nvd.nist.gov/vuln/detail/CVE-2022-30126advisory
https://github.com/apache/tika/commit/83b0de4d60161ebd4bc224141a959ac8c18d95f4web
https://github.com/apache/tika/commit/a36711610fa1f6f5ba0f594803415af795e0b265web
https://github.com/apache/tika/commit/e76302196ebcafb7b51fce37fbe8256e6c0fbc51web
https://github.com/advisories/GHSA-qw3f-w4pf-jh5fadvisory
https://github.com/apache/tikapackage

Sources

SourceRecordLicence
CVE ListCVE-2022-30126 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-rpjm-422r-95mh changed 2025-09-02CC-BY-4.0
NVDCVE-2022-30126 changed 2026-06-17Public domain