UBUNTU-CVE-2023-46250

Source
https://ubuntu.com/security/CVE-2023-46250
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-46250.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2023-46250
Related
Published
2023-10-31T16:15:00Z
Modified
2024-10-15T14:11:49Z
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 a free and open-source pure-python PDF library. An attacker who uses a vulnerability present in versions 3.7.0 through 3.16.4 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 when the pypdf-user manipulates an incoming malicious PDF e.g. by merging it with another PDF or by adding annotations. The issue was fixed in version 3.17.0. As a workaround, apply the patch manually by modifying pypdf/generic/_data_structures.py.

References

Affected packages

Ubuntu:Pro:16.04:LTS / pypdf2

Package

Name
pypdf2
Purl
pkg:deb/ubuntu/pypdf2?arch=src?distro=esm-apps/xenial

Affected ranges

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

Affected versions

1.*

1.23+git20141008-1
1.25.1-1
1.25.1-1ubuntu0.1~esm1
1.25.1-1ubuntu0.1~esm2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / pypdf2

Package

Name
pypdf2
Purl
pkg:deb/ubuntu/pypdf2?arch=src?distro=esm-apps/bionic

Affected ranges

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

Affected versions

1.*

1.26.0-2
1.26.0-2ubuntu0.1~esm1
1.26.0-2ubuntu0.1~esm2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / pypdf2

Package

Name
pypdf2
Purl
pkg:deb/ubuntu/pypdf2?arch=src?distro=focal

Affected ranges

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

Affected versions

1.*

1.26.0-2
1.26.0-3ubuntu1
1.26.0-3ubuntu1.20.04.1
1.26.0-3ubuntu1.20.04.2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / pypdf2

Package

Name
pypdf2
Purl
pkg:deb/ubuntu/pypdf2?arch=src?distro=jammy

Affected ranges

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

Affected versions

1.*

1.26.0-4
1.26.0-4ubuntu0.22.04.1
1.26.0-4ubuntu0.22.04.2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

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.10 / pypdf2

Package

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

Affected ranges

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

Affected versions

2.*

2.12.1-4

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"
}

Ubuntu:24.04:LTS / pypdf2

Package

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

Affected ranges

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

Affected versions

2.*

2.12.1-3
2.12.1-4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}