pypdf: CVE-2023-36464

Related Vulnerabilities: CVE-2023-36464  

Debian Bug report logs - #1040338
pypdf: CVE-2023-36464

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Tue, 4 Jul 2023 15:39:01 UTC

Severity: important

Tags: security, upstream

Found in version pypdf/3.4.1-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Laszlo Boszormenyi (GCS) <gcs@debian.org>:
Bug#1040338; Package src:pypdf. (Tue, 04 Jul 2023 15:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Laszlo Boszormenyi (GCS) <gcs@debian.org>. (Tue, 04 Jul 2023 15:39:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: pypdf: CVE-2023-36464
Date: Tue, 04 Jul 2023 17:34:34 +0200
Source: pypdf
Version: 3.4.1-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>
Control: clone -1 -2
Control: reassign -2 src:pypdf2 2.12.1-3
Control: retitle -2 pypdf2: CVE-2023-36464

Hi,

The following vulnerability was published for pypdf.

CVE-2023-36464[0]:
| pypdf is an open source, pure-python PDF library. In affected
| versions an attacker may craft a PDF which leads to an infinite loop
| if `__parse_content_stream` is executed. That is, for example, the
| case if the user extracted text from such a PDF. This issue was
| introduced in pull request #969 and resolved in pull request #1828.
| Users are advised to upgrade. Users unable to upgrade may modify the
| line `while peek not in (b"\r", b"\n")` in
| `pypdf/generic/_data_structures.py` to `while peek not in (b"\r",
| b"\n", b"")`.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2023-36464
    https://www.cve.org/CVERecord?id=CVE-2023-36464
[1] https://github.com/py-pdf/pypdf/security/advisories/GHSA-4vvm-4w3v-6mr8
[2] https://github.com/py-pdf/pypdf/pull/1828
[3] https://github.com/py-pdf/pypdf/commit/b0e5c689df689ab173df84dacd77b6fc3c161932

Regards,
Salvatore



Bug 1040338 cloned as bug 1040339 Request was from Salvatore Bonaccorso <carnil@debian.org> to submit@bugs.debian.org. (Tue, 04 Jul 2023 15:39:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jul 4 18:38:39 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.