CVE Vulnerabilities

CVE-2021-30471

Uncontrolled Recursion

Published: May 26, 2021 | Modified: Dec 21, 2022
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

A flaw was found in PoDoFo 0.9.7. An uncontrolled recursive call in PdfNamesTree::AddToDictionary function in src/podofo/doc/PdfNamesTree.cpp can lead to a stack overflow.

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

Name Vendor Start Version End Version
Podofo Podofo_project 0.9.7 (including) 0.9.7 (including)
Libpodofo Ubuntu bionic *
Libpodofo Ubuntu groovy *
Libpodofo Ubuntu hirsute *
Libpodofo Ubuntu impish *
Libpodofo Ubuntu kinetic *
Libpodofo Ubuntu lunar *
Libpodofo Ubuntu mantic *
Libpodofo Ubuntu trusty *
Libpodofo Ubuntu xenial *

Potential Mitigations

References