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 package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Tika | from Apache Tika up to 1.28.1 | CVE List |
| org.apache.tika:tika-core (Maven) | from 1.17 before 1.28.2, from 2.0.0 before 2.4.0 | GitHub Advisory Database |
| apache tika | before 1.28.3, from 2.0.0 before 2.4.0 | NVD |
| oracle primavera_unifier | from 17.7 up to 17.12, 18.8, 19.12, 20.12, 21.12 | NVD |
All scores
| GitHub | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 4.3medium CVSS:2.0 | AV: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/dh3syg68nxogbmlg13srd6gjn3h2z6r4 | mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/05/16/3 | mailing-list, third-party-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/05/31/2 | mailing-list, third-party-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/06/27/5 | mailing-list, third-party-advisory, web | |
| https://www.oracle.com/security-alerts/cpujul2022.html | third-party-advisory, web | |
| https://security.netapp.com/advisory/ntap-20220624-0004/ | third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-30126 | advisory | |
| https://github.com/apache/tika/commit/83b0de4d60161ebd4bc224141a959ac8c18d95f4 | web | |
| https://github.com/apache/tika/commit/a36711610fa1f6f5ba0f594803415af795e0b265 | web | |
| https://github.com/apache/tika/commit/e76302196ebcafb7b51fce37fbe8256e6c0fbc51 | web | |
| https://github.com/advisories/GHSA-qw3f-w4pf-jh5f | advisory | |
| https://github.com/apache/tika | package | |
| https://security.netapp.com/advisory/ntap-20220624-0004 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-30126 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rpjm-422r-95mh changed 2025-09-02 | CC-BY-4.0 |
| NVD | CVE-2022-30126 changed 2026-06-17 | Public domain |