Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tika/tika-core
  4. ›
  5. CVE-2018-1338

CVE-2018-1338: Loop with Unreachable Exit Condition ('Infinite Loop')

October 17, 2018 (updated September 1, 2021)

A carefully crafted (or fuzzed) file can trigger an infinite loop in Apache Tika’s BPGParser in versions of Apache Tika before 1.18.

References

  • access.redhat.com/errata/RHSA-2018:2669
  • github.com/advisories/GHSA-5mf7-26mw-3rqr
  • lists.apache.org/thread.html/4d20c5748fb9f836653bc78a1bad991ba8485d82a1e821f70b641932@%3Cdev.tika.apache.org%3E
  • nvd.nist.gov/vuln/detail/CVE-2018-1338

Code Behaviors & Features

Detect and mitigate CVE-2018-1338 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.18

Fixed versions

  • 1.18

Solution

Upgrade to version 1.18 or above.

Impact 5.5 MEDIUM

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

maven/org.apache.tika/tika-core/CVE-2018-1338.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.