Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.pdfbox/pdfbox
  4. ›
  5. CVE-2021-31812

CVE-2021-31812: Excessive Iteration

June 12, 2021 (updated November 7, 2023)

In Apache PDFBox, a carefully crafted PDF file can trigger an infinite loop while loading the file.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-31812

Code Behaviors & Features

Detect and mitigate CVE-2021-31812 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 starting from 2.0.0 up to 2.0.23

Fixed versions

  • 2.0.24

Solution

Upgrade to version 2.0.24 or above.

Impact 5.5 MEDIUM

CVSS:3.1/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.pdfbox/pdfbox/CVE-2021-31812.yml

Spotted a mistake? Edit the file on GitLab.

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

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