{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min. It affects 10 products.","exploited":"There is no known exploitation of CVE-2021-3426 in the wild and no public exploit code.","fix":"Upgrade libpython to a fixed version for your release line: 2.7.18, 3.6.13, 3.7.10 or 3.8.8.","what":"CVE-2021-3426 is a medium-severity vulnerability in Debian Debian Linux, published on 20 May 2021. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-3426 and fix it if it is affected.\n\nWhat it is: CVE-2021-3426 is a medium-severity vulnerability in Debian Debian Linux, published on 20 May 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-3426 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- libpython (Bitnami): affected all versions; fixed in 2.7.18, 3.6.13, 3.7.10, 3.8.8, 3.9.3\n- python (Bitnami): affected all versions; fixed in 2.7.18, 3.6.13, 3.7.10, 3.8.8, 3.9.3\n- python-min (Bitnami): affected all versions; fixed in 2.7.18, 3.6.13, 3.7.10, 3.8.8, 3.9.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-3426/ (Markdown: https://insights.sbomify.com/CVE-2021-3426/index.md)","id":"CVE-2021-3426","markdown":"https://insights.sbomify.com/CVE-2021-3426/index.md","name":"CVE-2021-3426","record":{"aliases":["ALPINE-CVE-2021-3426","ALSA-2021:4399","AZL-109635","BIT-libpython-2021-3426","BIT-python-2021-3426","BIT-python-min-2021-3426","CLEANSTART-2026-KO61737","CLSA-2021-1638804072","CLSA-2026-1777970333","CLSA-2026-1777973694","DEBIAN-CVE-2021-3426","GHSA-6qp6-q95v-x2qw","MGASA-2021-0193","OESA-2021-1264","PSF-2021-4","RHSA-2021:4399","SUSE-SU-2021:1490-1","SUSE-SU-2021:1557-1","UBUNTU-CVE-2021-3426","USN-5342-3"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Python standard library","requires_auth":"low_privilege","summary":"A local attacker can access sensitive information from a running pydoc server, compromising data confidentiality for other users.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"cloud_backup","vendor":"netapp"},{"product":"ontap_select_deploy_administration_utility","vendor":"netapp"},{"product":"snapcenter","vendor":"netapp"},{"product":"communications_cloud_native_core_binding_support_function","vendor":"oracle"},{"product":"zfs_storage_appliance_kit","vendor":"oracle"},{"product":"python","vendor":"python"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"software_collections","vendor":"redhat"}],"cvss":{"score":5.7,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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.","ecosystems":["AlmaLinux:8","Bitnami","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","SUSE:Linux Enterprise Micro 5.0","SUSE:Linux Enterprise Module for Basesystem 15 SP2","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Development Tools 15 SP2","SUSE:Linux Enterprise Module for Development Tools 15 SP3","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Information disclosure in python","id":"CVE-2021-3426","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora","netapp:cloud_backup","netapp:ontap_select_deploy_administration_utility","netapp:snapcenter","oracle:communications_cloud_native_core_binding_support_function","oracle:zfs_storage_appliance_kit","python:python","redhat:enterprise_linux","redhat:software_collections"],"type":"information_disclosure","year":"2021"},"n_packages":41,"n_references":14,"next":{"headline":"Deluge Web-UI vulnerable to XSS through a crafted torrent file","id":"CVE-2021-3427"},"packages":[{"ecosystem":"Bitnami","fixed":["2.7.18","3.6.13","3.7.10","3.8.8","3.9.3"],"introduced":["0","3.6.0","3.7.0","3.8.0","3.9.0"],"last_affected":[],"package":"libpython","purl":"pkg:bitnami/libpython","source":"BIT-libpython-2021-3426"},{"ecosystem":"Bitnami","fixed":["2.7.18","3.6.13","3.7.10","3.8.8","3.9.3"],"introduced":["0","3.6.0","3.7.0","3.8.0","3.9.0"],"last_affected":[],"package":"python","purl":"pkg:bitnami/python","source":"BIT-python-2021-3426"},{"ecosystem":"Bitnami","fixed":["2.7.18","3.6.13","3.7.10","3.8.8","3.9.3"],"introduced":["0","3.6.0","3.7.0","3.8.0","3.9.0"],"last_affected":[],"package":"python-min","purl":"pkg:bitnami/python-min","source":"BIT-python-min-2021-3426"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"platform-python","purl":"pkg:rpm/almalinux/platform-python","source":"ALSA-2021:4399"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-41.el8.alma"],"introduced":["0"],"last_affected":[],"package":"platform-python","purl":"pkg:rpm/almalinux/platform-python","source":"ALSA-2021:4399"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"platform-python-debug","purl":"pkg:rpm/almalinux/platform-python-debug","source":"ALSA-2021:4399"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-41.el8.alma"],"introduced":["0"],"last_affected":[],"package":"platform-python-debug","purl":"pkg:rpm/almalinux/platform-python-debug","source":"ALSA-2021:4399"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"platform-python-devel","purl":"pkg:rpm/almalinux/platform-python-devel","source":"ALSA-2021:4399"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-41.el8.alma"],"introduced":["0"],"last_affected":[],"package":"platform-python-devel","purl":"pkg:rpm/almalinux/platform-python-devel","source":"ALSA-2021:4399"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"python3-idle","purl":"pkg:rpm/almalinux/python3-idle","source":"ALSA-2021:4399"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-41.el8.alma"],"introduced":["0"],"last_affected":[],"package":"python3-idle","purl":"pkg:rpm/almalinux/python3-idle","source":"ALSA-2021:4399"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"python3-test","purl":"pkg:rpm/almalinux/python3-test","source":"ALSA-2021:4399"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-41.el8.alma"],"introduced":["0"],"last_affected":[],"package":"python3-test","purl":"pkg:rpm/almalinux/python3-test","source":"ALSA-2021:4399"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"python3-tkinter","purl":"pkg:rpm/almalinux/python3-tkinter","source":"ALSA-2021:4399"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-41.el8.alma"],"introduced":["0"],"last_affected":[],"package":"python3-tkinter","purl":"pkg:rpm/almalinux/python3-tkinter","source":"ALSA-2021:4399"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"platform-python","purl":"pkg:rpm/redhat/platform-python","source":"RHSA-2021:4399"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"platform-python-debug","purl":"pkg:rpm/redhat/platform-python-debug","source":"RHSA-2021:4399"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"platform-python-devel","purl":"pkg:rpm/redhat/platform-python-devel","source":"RHSA-2021:4399"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"python3-debuginfo","purl":"pkg:rpm/redhat/python3-debuginfo","source":"RHSA-2021:4399"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"python3-debugsource","purl":"pkg:rpm/redhat/python3-debugsource","source":"RHSA-2021:4399"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"python3-idle","purl":"pkg:rpm/redhat/python3-idle","source":"RHSA-2021:4399"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"python3-test","purl":"pkg:rpm/redhat/python3-test","source":"RHSA-2021:4399"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"python3-tkinter","purl":"pkg:rpm/redhat/python3-tkinter","source":"RHSA-2021:4399"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"platform-python","purl":"pkg:rpm/redhat/platform-python","source":"RHSA-2021:4399"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/redhat/python3","source":"RHSA-2021:4399"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"python3-debuginfo","purl":"pkg:rpm/redhat/python3-debuginfo","source":"RHSA-2021:4399"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"python3-debugsource","purl":"pkg:rpm/redhat/python3-debugsource","source":"RHSA-2021:4399"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"python3-libs","purl":"pkg:rpm/redhat/python3-libs","source":"RHSA-2021:4399"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.8-41.el8"],"introduced":["0"],"last_affected":[],"package":"python3-test","purl":"pkg:rpm/redhat/python3-test","source":"RHSA-2021:4399"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.0","fixed":["3.6.13-3.81.2"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/suse/python3\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.0","source":"SUSE-SU-2021:1557-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.0","fixed":["3.6.13-3.81.1"],"introduced":["0"],"last_affected":[],"package":"python3-core","purl":"pkg:rpm/suse/python3-core\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.0","source":"SUSE-SU-2021:1557-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP2","fixed":["3.6.13-3.81.2"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/suse/python3\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2","source":"SUSE-SU-2021:1557-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP2","fixed":["3.6.13-3.81.1"],"introduced":["0"],"last_affected":[],"package":"python3-core","purl":"pkg:rpm/suse/python3-core\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2","source":"SUSE-SU-2021:1557-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["3.6.13-3.81.2"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/suse/python3\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-SU-2021:1557-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["3.6.13-3.81.1"],"introduced":["0"],"last_affected":[],"package":"python3-core","purl":"pkg:rpm/suse/python3-core\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-SU-2021:1557-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP2","fixed":["3.6.13-3.81.1"],"introduced":["0"],"last_affected":[],"package":"python3-core","purl":"pkg:rpm/suse/python3-core\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP2","source":"SUSE-SU-2021:1557-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP3","fixed":["3.6.13-3.81.1"],"introduced":["0"],"last_affected":[],"package":"python3-core","purl":"pkg:rpm/suse/python3-core\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP3","source":"SUSE-SU-2021:1557-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["3.6.13-4.39.1"],"introduced":["0"],"last_affected":[],"package":"python36","purl":"pkg:rpm/suse/python36\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2021:1490-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["3.6.13-4.39.1"],"introduced":["0"],"last_affected":[],"package":"python36-core","purl":"pkg:rpm/suse/python36-core\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2021:1490-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["3.6.13-4.39.1"],"introduced":["0"],"last_affected":[],"package":"python36","purl":"pkg:rpm/suse/python36\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2021:1490-1"}],"prev":{"headline":"Information disclosure in broker","id":"CVE-2021-3425"},"products":["python"],"published":"2021-05-20","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"A local attacker can access sensitive information from a running pydoc server, compromising data confidentiality for other users.","url":"https://insights.sbomify.com/CVE-2021-3426/"}