UBUNTU-CVE-2021-3426

Source
https://ubuntu.com/security/CVE-2021-3426
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3426.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-3426
Related
Published
2021-05-20T13:15:00Z
Modified
2024-12-06T04:30:49Z
Severity
  • 5.7 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

There's a flaw in Python 3's pydoc. A local or adjacent attacker who discovers or is able to convince another local or adjacent user to start a pydoc server could access the server and use it to disclose sensitive information belonging to the other user that they would not normally be able to access. The highest risk of this flaw is to data confidentiality. This flaw affects Python versions before 3.8.9, Python versions before 3.9.3 and Python versions before 3.10.0a7.

References

Affected packages

Ubuntu:Pro:14.04:LTS / python3.4

Package

Name
python3.4
Purl
pkg:deb/ubuntu/python3.4?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.3-1ubuntu1~14.04.7+esm12

Affected versions

3.*

3.4~b1-0ubuntu3
3.4~b1-4ubuntu4
3.4~b1-4ubuntu6
3.4~b1-5ubuntu2
3.4~b2-1
3.4~b3-1ubuntu1
3.4~rc1-1build1
3.4~rc2-1
3.4~rc3-0ubuntu1
3.4.0-1
3.4.0-2ubuntu1
3.4.0-2ubuntu1.1
3.4.3-1ubuntu1~14.04.1
3.4.3-1ubuntu1~14.04.3
3.4.3-1ubuntu1~14.04.4
3.4.3-1ubuntu1~14.04.5
3.4.3-1ubuntu1~14.04.6
3.4.3-1ubuntu1~14.04.7
3.4.3-1ubuntu1~14.04.7+esm2
3.4.3-1ubuntu1~14.04.7+esm4
3.4.3-1ubuntu1~14.04.7+esm6
3.4.3-1ubuntu1~14.04.7+esm7
3.4.3-1ubuntu1~14.04.7+esm8
3.4.3-1ubuntu1~14.04.7+esm10
3.4.3-1ubuntu1~14.04.7+esm11

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "idle-python3.4"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "libpython3.4"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "libpython3.4-dbg"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "libpython3.4-dbgsym"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "libpython3.4-dev"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "libpython3.4-dev-dbgsym"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "libpython3.4-minimal"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "libpython3.4-minimal-dbgsym"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "libpython3.4-stdlib"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "libpython3.4-stdlib-dbgsym"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "libpython3.4-testsuite"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "python3.4"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "python3.4-dbg"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "python3.4-dbgsym"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "python3.4-dev"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "python3.4-dev-dbgsym"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "python3.4-doc"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "python3.4-examples"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "python3.4-minimal"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "python3.4-minimal-dbgsym"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "python3.4-venv"
        },
        {
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm12",
            "binary_name": "python3.4-venv-dbgsym"
        }
    ]
}

Ubuntu:Pro:14.04:LTS / python3.5

Package

Name
python3.5
Purl
pkg:deb/ubuntu/python3.5?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5.2-2ubuntu0~16.04.4~14.04.1+esm1

Affected versions

3.*

3.5.2-2ubuntu0~16.04.4~14.04.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "idle-python3.5"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "libpython3.5"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "libpython3.5-dbg"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "libpython3.5-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "libpython3.5-dev"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "libpython3.5-dev-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "libpython3.5-minimal"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "libpython3.5-minimal-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "libpython3.5-stdlib"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "libpython3.5-stdlib-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "libpython3.5-testsuite"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "python3.5"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "python3.5-dbg"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "python3.5-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "python3.5-dev"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "python3.5-dev-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "python3.5-doc"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "python3.5-examples"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "python3.5-minimal"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "python3.5-minimal-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "python3.5-venv"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1",
            "binary_name": "python3.5-venv-dbgsym"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / python3.5

Package

Name
python3.5
Purl
pkg:deb/ubuntu/python3.5?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5.2-2ubuntu0~16.04.13+esm2

Affected versions

3.*

3.5.0-3
3.5.0-3ubuntu1
3.5.1~rc1-2ubuntu1
3.5.1-1
3.5.1-2
3.5.1-3
3.5.1-5
3.5.1-6ubuntu1
3.5.1-6ubuntu2
3.5.1-9ubuntu1
3.5.1-10
3.5.2-2~16.01
3.5.2-2~16.04
3.5.2-2ubuntu0~16.04.1
3.5.2-2ubuntu0~16.04.2
3.5.2-2ubuntu0~16.04.3
3.5.2-2ubuntu0~16.04.4
3.5.2-2ubuntu0~16.04.5
3.5.2-2ubuntu0~16.04.8
3.5.2-2ubuntu0~16.04.9
3.5.2-2ubuntu0~16.04.10
3.5.2-2ubuntu0~16.04.11
3.5.2-2ubuntu0~16.04.12
3.5.2-2ubuntu0~16.04.13
3.5.2-2ubuntu0~16.04.13+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "idle-python3.5"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "libpython3.5"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "libpython3.5-dbg"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "libpython3.5-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "libpython3.5-dev"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "libpython3.5-dev-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "libpython3.5-minimal"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "libpython3.5-minimal-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "libpython3.5-stdlib"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "libpython3.5-stdlib-dbgsym"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "libpython3.5-testsuite"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "python3.5"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "python3.5-dbg"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "python3.5-dev"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "python3.5-doc"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "python3.5-examples"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "python3.5-minimal"
        },
        {
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm2",
            "binary_name": "python3.5-venv"
        }
    ]
}

Ubuntu:18.04:LTS / python3.6

Package

Name
python3.6
Purl
pkg:deb/ubuntu/python3.6?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.6.9-1~18.04ubuntu1.7

Affected versions

3.*

3.6.3-1ubuntu1
3.6.4~rc1-1
3.6.4~rc1-2
3.6.4-1
3.6.4-2
3.6.4-3build1
3.6.4-4
3.6.5~rc1-1
3.6.5-3
3.6.6-1~18.04
3.6.7-1~18.04
3.6.8-1~18.04.1
3.6.8-1~18.04.2
3.6.8-1~18.04.3
3.6.9-1~18.04
3.6.9-1~18.04ubuntu1
3.6.9-1~18.04ubuntu1.1
3.6.9-1~18.04ubuntu1.3
3.6.9-1~18.04ubuntu1.4
3.6.9-1~18.04ubuntu1.6

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "3.6.9-1~18.04ubuntu1.7",
            "binary_name": "idle-python3.6"
        },
        {
            "binary_version": "3.6.9-1~18.04ubuntu1.7",
            "binary_name": "libpython3.6"
        },
        {
            "binary_version": "3.6.9-1~18.04ubuntu1.7",
            "binary_name": "libpython3.6-dbg"
        },
        {
            "binary_version": "3.6.9-1~18.04ubuntu1.7",
            "binary_name": "libpython3.6-dev"
        },
        {
            "binary_version": "3.6.9-1~18.04ubuntu1.7",
            "binary_name": "libpython3.6-minimal"
        },
        {
            "binary_version": "3.6.9-1~18.04ubuntu1.7",
            "binary_name": "libpython3.6-stdlib"
        },
        {
            "binary_version": "3.6.9-1~18.04ubuntu1.7",
            "binary_name": "libpython3.6-testsuite"
        },
        {
            "binary_version": "3.6.9-1~18.04ubuntu1.7",
            "binary_name": "python3.6"
        },
        {
            "binary_version": "3.6.9-1~18.04ubuntu1.7",
            "binary_name": "python3.6-dbg"
        },
        {
            "binary_version": "3.6.9-1~18.04ubuntu1.7",
            "binary_name": "python3.6-dev"
        },
        {
            "binary_version": "3.6.9-1~18.04ubuntu1.7",
            "binary_name": "python3.6-doc"
        },
        {
            "binary_version": "3.6.9-1~18.04ubuntu1.7",
            "binary_name": "python3.6-examples"
        },
        {
            "binary_version": "3.6.9-1~18.04ubuntu1.7",
            "binary_name": "python3.6-minimal"
        },
        {
            "binary_version": "3.6.9-1~18.04ubuntu1.7",
            "binary_name": "python3.6-venv"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / python3.7

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.5-2ubuntu1~18.04.2+esm1

Affected versions

3.*

3.7.0~a2-1
3.7.0~a3-1
3.7.0~a3-2
3.7.0~a3-3
3.7.0~a4-1
3.7.0~b1-1
3.7.0~b1-1build1
3.7.0~b2-1
3.7.0~b3-1
3.7.0-1~18.04
3.7.1-1~18.04
3.7.3-2~18.04.1
3.7.5-2~18.04
3.7.5-2~18.04.4
3.7.5-2ubuntu1~18.04.2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm1",
            "binary_name": "idle-python3.7"
        },
        {
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm1",
            "binary_name": "libpython3.7"
        },
        {
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm1",
            "binary_name": "libpython3.7-dbg"
        },
        {
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm1",
            "binary_name": "libpython3.7-dev"
        },
        {
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm1",
            "binary_name": "libpython3.7-minimal"
        },
        {
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm1",
            "binary_name": "libpython3.7-stdlib"
        },
        {
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm1",
            "binary_name": "libpython3.7-testsuite"
        },
        {
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm1",
            "binary_name": "python3.7"
        },
        {
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm1",
            "binary_name": "python3.7-dbg"
        },
        {
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm1",
            "binary_name": "python3.7-dev"
        },
        {
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm1",
            "binary_name": "python3.7-doc"
        },
        {
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm1",
            "binary_name": "python3.7-examples"
        },
        {
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm1",
            "binary_name": "python3.7-minimal"
        },
        {
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm1",
            "binary_name": "python3.7-venv"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / python3.8

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.0-3ubuntu1~18.04.2+esm2

Affected versions

3.*

3.8.0-3~18.04
3.8.0-3~18.04.1
3.8.0-3ubuntu1~18.04.2
3.8.0-3ubuntu1~18.04.2+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2",
            "binary_name": "idle-python3.8"
        },
        {
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2",
            "binary_name": "libpython3.8"
        },
        {
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2",
            "binary_name": "libpython3.8-dbg"
        },
        {
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2",
            "binary_name": "libpython3.8-dev"
        },
        {
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2",
            "binary_name": "libpython3.8-minimal"
        },
        {
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2",
            "binary_name": "libpython3.8-stdlib"
        },
        {
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2",
            "binary_name": "libpython3.8-testsuite"
        },
        {
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2",
            "binary_name": "python3.8"
        },
        {
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2",
            "binary_name": "python3.8-dbg"
        },
        {
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2",
            "binary_name": "python3.8-dev"
        },
        {
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2",
            "binary_name": "python3.8-examples"
        },
        {
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2",
            "binary_name": "python3.8-minimal"
        },
        {
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2",
            "binary_name": "python3.8-venv"
        }
    ]
}

Ubuntu:20.04:LTS / python3.9

Package

Name
python3.9
Purl
pkg:deb/ubuntu/python3.9?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.5-3~20.04.1

Affected versions

3.*

3.9.0~rc1-1~20.04
3.9.0-5~20.04

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "3.9.5-3~20.04.1",
            "binary_name": "idle-python3.9"
        },
        {
            "binary_version": "3.9.5-3~20.04.1",
            "binary_name": "libpython3.9"
        },
        {
            "binary_version": "3.9.5-3~20.04.1",
            "binary_name": "libpython3.9-dbg"
        },
        {
            "binary_version": "3.9.5-3~20.04.1",
            "binary_name": "libpython3.9-dev"
        },
        {
            "binary_version": "3.9.5-3~20.04.1",
            "binary_name": "libpython3.9-minimal"
        },
        {
            "binary_version": "3.9.5-3~20.04.1",
            "binary_name": "libpython3.9-stdlib"
        },
        {
            "binary_version": "3.9.5-3~20.04.1",
            "binary_name": "libpython3.9-testsuite"
        },
        {
            "binary_version": "3.9.5-3~20.04.1",
            "binary_name": "python3.9"
        },
        {
            "binary_version": "3.9.5-3~20.04.1",
            "binary_name": "python3.9-dbg"
        },
        {
            "binary_version": "3.9.5-3~20.04.1",
            "binary_name": "python3.9-dev"
        },
        {
            "binary_version": "3.9.5-3~20.04.1",
            "binary_name": "python3.9-doc"
        },
        {
            "binary_version": "3.9.5-3~20.04.1",
            "binary_name": "python3.9-examples"
        },
        {
            "binary_version": "3.9.5-3~20.04.1",
            "binary_name": "python3.9-full"
        },
        {
            "binary_version": "3.9.5-3~20.04.1",
            "binary_name": "python3.9-minimal"
        },
        {
            "binary_version": "3.9.5-3~20.04.1",
            "binary_name": "python3.9-venv"
        }
    ]
}