CVE Vulnerabilities

CVE-2021-3508

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Apr 28, 2021 | Modified: Nov 21, 2024
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A flaw was found in PDFResurrect in version 0.22b. There is an infinite loop in get_xref_linear_skipped() in pdf.c via a crafted PDF file.

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

NameVendorStart VersionEnd Version
PdfresurrectPdfresurrect_project0.22b (including)0.22b (including)
PdfresurrectUbuntubionic*
PdfresurrectUbuntudevel*
PdfresurrectUbuntuesm-apps/bionic*
PdfresurrectUbuntuesm-apps/focal*
PdfresurrectUbuntuesm-apps/jammy*
PdfresurrectUbuntuesm-apps/noble*
PdfresurrectUbuntuesm-apps/xenial*
PdfresurrectUbuntufocal*
PdfresurrectUbuntugroovy*
PdfresurrectUbuntuhirsute*
PdfresurrectUbuntuimpish*
PdfresurrectUbuntujammy*
PdfresurrectUbuntukinetic*
PdfresurrectUbuntulunar*
PdfresurrectUbuntumantic*
PdfresurrectUbuntunoble*
PdfresurrectUbuntuoracular*
PdfresurrectUbuntuplucky*
PdfresurrectUbuntuquesting*
PdfresurrectUbuntutrusty*
PdfresurrectUbuntutrusty/esm*
PdfresurrectUbuntuupstream*
PdfresurrectUbuntuxenial*

References