- Veröffentlicht
- 18.04.2022
- Zuletzt geändert
- 18.11.2026
- EPSS (30 Tage)
- 1.3 %
- CVSS-Vektor
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Beschreibung
Originaltext der Quelle, nicht übersetzt.
PyPDF2 is an open source python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. In versions prior to 1.27.5 an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop if the PyPDF2 if the code attempts to get the content stream. The reason is that the last while-loop in `ContentStream._readInlineImage` only terminates when it finds the `EI` token, but never actually checks if the stream has already ended. This issue has been resolved in version `1.27.5`. Users unable to upgrade should validate and PDFs prior to iterating over their content stream.
Status beim Hersteller
SUSE stuft seine Produktlinien ein: 1 betroffen, 4 behoben.
Red Hat Quay 3
BetroffenFix ausstehend
quay/quay-rhel8
SUSE Package Hub 15 SP5
Behoben
python3-PyPDF2-1.26.0-bp155.3.3.1
SUSE Package Hub 15 SP6
Behoben
python3-PyPDF2-1.26.0-bp156.4.3.1
openSUSE Leap 15.5
Behoben
python3-PyPDF2-1.26.0-bp155.3.3.1
openSUSE Leap 15.6
Behoben
python3-PyPDF2-1.26.0-bp156.4.3.1
Weitere betroffene Pakete (18)
CVEpy-pdf/PyPDF2kein Fix bekanntCVE-2022-24859
Debian:10pypdf21.26.0-2+deb10u1DLA-3451-1
Debian:12pypdf21.27.9-1DEBIAN-CVE-2022-24859
Debian:9pypdf21.26.0-2+deb9u1DLA-3039-1
NVDdebian:debian_linuxkein Fix bekanntCVE-2022-24859
NVDpypdf2_project:pypdf21.27.5CVE-2022-24859
PyPIpypdf21.27.5GHSA-xcjx-m2pj-8g79
PyPIpypdf21.27.5PYSEC-2022-194
SUSE:Package Hub 15 SP6python-PyPDF21.26.0-bp156.4.3.1openSUSE-SU-2024:0366-1
Ubuntu:20.04:LTSpypdf21.26.0-3ubuntu1.20.04.1UBUNTU-CVE-2022-24859
Ubuntu:20.04:LTSpypdf21.26.0-3ubuntu1.20.04.1USN-6176-1
Ubuntu:22.04:LTSpypdf21.26.0-4ubuntu0.22.04.1UBUNTU-CVE-2022-24859
Ubuntu:22.04:LTSpypdf21.26.0-4ubuntu0.22.04.1USN-6176-1
Ubuntu:Pro:16.04:LTSpypdf21.25.1-1ubuntu0.1~esm1UBUNTU-CVE-2022-24859
Ubuntu:Pro:16.04:LTSpypdf21.25.1-1ubuntu0.1~esm1USN-6176-1
Ubuntu:Pro:18.04:LTSpypdf21.26.0-2ubuntu0.1~esm1UBUNTU-CVE-2022-24859
Ubuntu:Pro:18.04:LTSpypdf21.26.0-2ubuntu0.1~esm1USN-6176-1
openSUSE:Leap 15.6python-PyPDF21.26.0-bp156.4.3.1openSUSE-SU-2024:0366-1
Empfohlene Prüfung
- Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
- Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
- Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login · Nutzerinteraktion) ist aus dem CVSS-Vektor abgeleitet.
Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.
Referenzen
- github.com/py-pdf/PyPDF2/security/advisories/GHSA-xcjx-m2pj-8g79
- github.com/py-pdf/PyPDF2/issues/329
- github.com/py-pdf/PyPDF2/pull/740
- github.com/py-pdf/PyPDF2/releases/tag/1.27.5
- lists.debian.org/debian-lts-announce/2022/06/msg00001.html
- lists.debian.org/debian-lts-announce/2023/06/msg00013.html
- www.suse.com/security/cve/CVE-2022-24859
- www.suse.com/support/security/rating/
- bugzilla.suse.com/1198588
- lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/JXAHSUMAQ6VKWEA3MS762SNZWXCCD54L/
- ftp.suse.com/pub/projects/security/csaf/2024/opensuse-su-2024_0366-1.json
- www.suse.com/security/cve/CVE-2022-24859/
- security-tracker.debian.org/tracker/CVE-2022-24859
- nvd.nist.gov/vuln/detail/CVE-2022-24859
- github.com/py-pdf/PyPDF2
- github.com/pypa/advisory-database/tree/main/vulns/pypdf2/PYSEC-2022-194.yaml
- ubuntu.com/security/CVE-2022-24859
- ubuntu.com/security/notices/USN-6176-1
- www.cve.org/CVERecord
- security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-24859.json
- access.redhat.com/security/cve/CVE-2022-24859
- bugzilla.redhat.com/show_bug.cgi