6.5
MEDIUM
CVE-2023-36807
Apache Pandas CPU Denial of Service
Description

pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. In version 2.10.5 an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This infinite loop blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. That is, for example, the case if the user extracted metadata from such a malformed PDF. Versions prior to 2.10.5 throw an error, but do not hang forever. This issue was fixed with https://github.com/py-pdf/pypdf/pull/1331 which has been included in release 2.10.6. Users are advised to upgrade. Users unable to upgrade should modify `PyPDF2/generic/_data_structures.py::read_object` to an an error throwing case. See GHSA-hm9v-vj3r-r55m for details.

INFO

Published Date :

June 30, 2023, 7:15 p.m.

Last Modified :

July 10, 2023, 4:32 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2023-36807 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Pypdf_project pypdf
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-36807.

URL Resource
https://github.com/py-pdf/pypdf/issues/1329 Exploit Issue Tracking Vendor Advisory
https://github.com/py-pdf/pypdf/pull/1331 Patch
https://github.com/py-pdf/pypdf/security/advisories/GHSA-hm9v-vj3r-r55m Exploit Mitigation Patch Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-36807 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-36807 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jul. 10, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/py-pdf/pypdf/issues/1329 No Types Assigned https://github.com/py-pdf/pypdf/issues/1329 Exploit, Issue Tracking, Vendor Advisory
    Changed Reference Type https://github.com/py-pdf/pypdf/pull/1331 No Types Assigned https://github.com/py-pdf/pypdf/pull/1331 Patch
    Changed Reference Type https://github.com/py-pdf/pypdf/security/advisories/GHSA-hm9v-vj3r-r55m No Types Assigned https://github.com/py-pdf/pypdf/security/advisories/GHSA-hm9v-vj3r-r55m Exploit, Mitigation, Patch, Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:pypdf_project:pypdf:2.10.5:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-36807 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-36807 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.08 }} 0.02%

score

0.36123

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability