UBUNTU-CVE-2023-36464

Source
https://ubuntu.com/security/CVE-2023-36464
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-36464.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2023-36464
Related
Published
2023-06-27T22:15:00Z
Modified
2024-10-15T14:11:37Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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"").

References

Affected packages

Ubuntu:24.10 / pypdf

Package

Name
pypdf
Purl
pkg:deb/ubuntu/pypdf?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.0.2-1
4.2.0-1
4.3.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / pypdf

Package

Name
pypdf
Purl
pkg:deb/ubuntu/pypdf?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.4.1-1
3.17.4-1

4.*

4.0.0-1
4.0.1-1
4.0.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}