5.7medium
Information disclosure via pydoc getfile
- Severity
- 5.7medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.86% (higher than 79% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- PSF-2021-4BIT-LIBPYTHON-2021-3426BIT-PYTHON-2021-3426BIT-PYTHON-MIN-2021-3426
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| python | python 3.8.9, python 3.9.3, python 3.10.0a7 | CVE List |
| https://github.com/python/cpython | before 5b1e50256b6532667b6d31debc350f6c7d3f30aa, before 7c2284f97d140c4e4a85382bfb3a42440be2464d, before 7e38d3309e0a5a7b9e23ef933aef0079c6e317f7, before 9b999479c0022edfc9835a8a1f06e046f3881048, before ed753d94856213ae9fc028195f670e66a24e2334 | Python Software Foundation |
| python python | before 2.7.18, from 3.6.0 before 3.6.13, from 3.7.0 before 3.7.10, from 3.8.0 before 3.8.8, from 3.9.0 before 3.9.3, 3.10.0 | NVD |
| fedoraproject fedora | 32, 33, 34 | NVD |
| debian debian_linux | 9.0 | NVD |
| redhat software_collections | Not specified | NVD |
| redhat enterprise_linux | 8.0 | NVD |
| netapp cloud_backup | Not specified | NVD |
| netapp ontap_select_deploy_administration_utility | Not specified | NVD |
| netapp snapcenter | Not specified | NVD |
| oracle communications_cloud_native_core_binding_support_function | 1.10.0 | NVD |
| oracle zfs_storage_appliance_kit | 8.8 | NVD |
| libpython (Bitnami) | before 2.7.18, from 3.6.0 before 3.6.13, from 3.7.0 before 3.7.10, from 3.8.0 before 3.8.8, from 3.9.0 before 3.9.3 | Bitnami Vulnerability Database |
| python (Bitnami) | before 2.7.18, from 3.6.0 before 3.6.13, from 3.7.0 before 3.7.10, from 3.8.0 before 3.8.8, from 3.9.0 before 3.9.3 | Bitnami Vulnerability Database |
| python-min (Bitnami) | before 2.7.18, from 3.6.0 before 3.6.13, from 3.7.0 before 3.7.10, from 3.8.0 before 3.8.8, from 3.9.0 before 3.9.3 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.7medium CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.7medium CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.7low CVSS:2.0 | AV:A/AC:L/Au:S/C:P/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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.
NVD (es)
Se presenta un fallo en pydoc de Python versión 3. Un atacante local o adyacente que descubre o es capaz de convencer a otro usuario local o adyacente para que iniciar un servidor pydoc podría acceder al servidor y usarlo para divulgar información confidencial perteneciente al otro usuario al que normalmente no podría acceder. El mayor riesgo de este fallo es la confidencialidad de los datos. Este fallo afecta a Python versiones anteriores a 3.8.9, Python versiones anteriores a 3.9.3 y Python versiones anteriores a 3.10.0a7
Bitnami Vulnerability Database
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.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3426 changed 2026-10-14 | CVE Terms of Use |
| Python Software Foundation | PSF-2021-4 changed 2025-10-09 | CC-BY-4.0 |
| NVD | CVE-2021-3426 changed 2026-10-14 | Public domain |
| Bitnami Vulnerability Database | BIT-LIBPYTHON-2021-3426 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PYTHON-2021-3426 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PYTHON-MIN-2021-3426 changed 2026-09-08 | Apache-2.0 |