CVE-2021-3426

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-3426
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3426.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-3426
Aliases
Related
Published
2021-05-20T13:15:07Z
Modified
2024-09-18T03:17:48.339219Z
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

Alpine:v3.15 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.4-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3
3.8.8-r0
3.9.1-r0
3.9.2-r0

Alpine:v3.16 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.4-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3
3.8.8-r0
3.9.1-r0
3.9.2-r0

Alpine:v3.17 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.4-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3
3.8.8-r0
3.9.1-r0
3.9.2-r0

Alpine:v3.18 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.4-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3
3.8.8-r0
3.9.1-r0
3.9.2-r0

Alpine:v3.19 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.4-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3
3.8.8-r0
3.9.1-r0
3.9.2-r0

Alpine:v3.20 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.4-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3
3.8.8-r0
3.9.1-r0
3.9.2-r0

Debian:11 / pypy3

Package

Name
pypy3
Purl
pkg:deb/debian/pypy3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.3.3+dfsg-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / pypy3

Package

Name
pypy3
Purl
pkg:deb/debian/pypy3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.3.3+dfsg-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / pypy3

Package

Name
pypy3
Purl
pkg:deb/debian/pypy3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.3.3+dfsg-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / python3.9

Package

Name
python3.9
Purl
pkg:deb/debian/python3.9?arch=source

Affected ranges

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

Affected versions

3.*

3.9.2-1
3.9.3-1
3.9.3-2
3.9.4-1
3.9.5-1
3.9.5-2
3.9.5-3
3.9.6-1
3.9.7-1
3.9.7-2
3.9.7-4
3.9.8-1
3.9.8-2
3.9.9-1
3.9.9-2
3.9.9-3
3.9.9-4
3.9.10-1
3.9.10-2
3.9.11-1
3.9.12-1
3.9.13-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/python/cpython

Affected ranges

Type
GIT
Repo
https://github.com/python/cpython
Events

Affected versions

v3.*

v3.8.0
v3.8.1
v3.8.1rc1
v3.8.2
v3.8.2rc1
v3.8.2rc2
v3.8.3
v3.8.3rc1
v3.8.4
v3.8.4rc1
v3.8.5
v3.8.6
v3.8.6rc1
v3.8.7
v3.8.7rc1
v3.8.8rc1