CVEfocus › CVE database › CVE-2023-38898

CVE-2023-38898

EPSS 0.8% (higher than 53% of CVEs)Published 2023-08-15Updated 2024-10-08Assigner: mitre

An issue in Python cpython v.3.7 allows an attacker to obtain sensitive information via the _asyncio._swap_current_task component. NOTE: this is disputed by the vendor because (1) neither 3.7 nor any other release is affected (it is a bug in some 3.12 pre-releases); (2) there are no common scenarios in which an adversary can call _asyncio._swap_current_task but does not already have the ability to call arbitrary functions; and (3) there are no common scenarios in which sensitive information, which is not already accessible to an adversary, becomes accessible through this bug.

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fix pending
149Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04python3.12Not affected
vulnerable_code_not_present
Ubuntu 22.04python3.10Not affected
vulnerable_code_not_present
Ubuntu 16.04python2.7Fix pending
Ubuntu 16.04python3.5Fix pending
Red Hat Enterprise Linux 9python-unversioned-commandNot affected
Red Hat Enterprise Linux 9python3Not affected
Red Hat Enterprise Linux 9python3-debugNot affected
Red Hat Enterprise Linux 9python3-develNot affected
Red Hat Enterprise Linux 9python3-idleNot affected
Red Hat Enterprise Linux 9python3-libsNot affected
Red Hat Enterprise Linux 9python3-testNot affected
Red Hat Enterprise Linux 9python3-tkinterNot affected
Red Hat Enterprise Linux 9python3.11Not affected
Red Hat Enterprise Linux 9python3.11-debugNot affected
Red Hat Enterprise Linux 9python3.11-develNot affected
Red Hat Enterprise Linux 9python3.11-idleNot affected
Red Hat Enterprise Linux 9python3.11-libsNot affected
Red Hat Enterprise Linux 9python3.11-testNot affected
Red Hat Enterprise Linux 9python3.11-tkinterNot affected
Red Hat Enterprise Linux 9python3.9Not affected
Red Hat Enterprise Linux 8PyYAMLNot affected
Red Hat Enterprise Linux 8mod_wsgiNot affected
Red Hat Enterprise Linux 8numpyNot affected
Red Hat Enterprise Linux 8platform-pythonNot affected
Red Hat Enterprise Linux 8platform-python-debugNot affected
Red Hat Enterprise Linux 8platform-python-develNot affected
Red Hat Enterprise Linux 8python-PyMySQLNot affected
Red Hat Enterprise Linux 8python-cffiNot affected
Red Hat Enterprise Linux 8python-chardetNot affected
Red Hat Enterprise Linux 8python-cryptographyNot affected
Red Hat Enterprise Linux 8python-distroNot affected
Red Hat Enterprise Linux 8python-docsNot affected
Red Hat Enterprise Linux 8python-docutilsNot affected
Red Hat Enterprise Linux 8python-idnaNot affected
Red Hat Enterprise Linux 8python-lxmlNot affected
Red Hat Enterprise Linux 8python-noseNot affected
Red Hat Enterprise Linux 8python-nose-docsNot affected
Red Hat Enterprise Linux 8python-plyNot affected
Red Hat Enterprise Linux 8python-psutilNot affected
Red Hat Enterprise Linux 8python-psycopg2Not affected
Red Hat Enterprise Linux 8python-pycparserNot affected
Red Hat Enterprise Linux 8python-pygmentsNot affected
Red Hat Enterprise Linux 8python-pymongoNot affected
Red Hat Enterprise Linux 8python-pymongo-docNot affected
Red Hat Enterprise Linux 8python-pysocksNot affected
Red Hat Enterprise Linux 8python-requestsNot affected
Red Hat Enterprise Linux 8python-sqlalchemyNot affected
Red Hat Enterprise Linux 8python-sqlalchemy-docNot affected
Red Hat Enterprise Linux 8python-tomlNot affected
Red Hat Enterprise Linux 8python-urllib3Not affected
Red Hat Enterprise Linux 8python-virtualenvNot affected
Red Hat Enterprise Linux 8python-virtualenv-docNot affected
Red Hat Enterprise Linux 8python-wheelNot affected
Red Hat Enterprise Linux 8python2Not affected
Red Hat Enterprise Linux 8python2-debugNot affected
Red Hat Enterprise Linux 8python2-develNot affected
Red Hat Enterprise Linux 8python2-libsNot affected
Red Hat Enterprise Linux 8python2-testNot affected
Red Hat Enterprise Linux 8python2-tkinterNot affected
Red Hat Enterprise Linux 8python2-toolsNot affected
Red Hat Enterprise Linux 8python3Not affected
Red Hat Enterprise Linux 8python3-PyMySQLNot affected
Red Hat Enterprise Linux 8python3-bsonNot affected
Red Hat Enterprise Linux 8python3-distroNot affected
Red Hat Enterprise Linux 8python3-docsNot affected
Red Hat Enterprise Linux 8python3-docutilsNot affected
Red Hat Enterprise Linux 8python3-idleNot affected
Red Hat Enterprise Linux 8python3-libsNot affected
Red Hat Enterprise Linux 8python3-noseNot affected
Red Hat Enterprise Linux 8python3-pygmentsNot affected
Red Hat Enterprise Linux 8python3-pymongoNot affected
Red Hat Enterprise Linux 8python3-pymongo-gridfsNot affected
Red Hat Enterprise Linux 8python3-scipyNot affected
Red Hat Enterprise Linux 8python3-sqlalchemyNot affected
Red Hat Enterprise Linux 8python3-testNot affected
Red Hat Enterprise Linux 8python3-tkinterNot affected
Red Hat Enterprise Linux 8python3-virtualenvNot affected
Red Hat Enterprise Linux 8python3-wheelNot affected
Red Hat Enterprise Linux 8python3-wheel-wheelNot affected
Red Hat Enterprise Linux 8python3.11Not affected
Red Hat Enterprise Linux 8python3.11-debugNot affected
Red Hat Enterprise Linux 8python3.11-develNot affected
Red Hat Enterprise Linux 8python3.11-idleNot affected
Red Hat Enterprise Linux 8python3.11-libsNot affected
Red Hat Enterprise Linux 8python3.11-rpm-macrosNot affected
Red Hat Enterprise Linux 8python3.11-testNot affected
Red Hat Enterprise Linux 8python3.11-tkinterNot affected
Red Hat Enterprise Linux 8python36Not affected
Red Hat Enterprise Linux 8python36-debugNot affected
Red Hat Enterprise Linux 8python36-develNot affected
Red Hat Enterprise Linux 8python36-rpm-macrosNot affected
Red Hat Enterprise Linux 8python39Not affected
Red Hat Enterprise Linux 8python39-PyMySQLNot affected
Red Hat Enterprise Linux 8python39-cffiNot affected
Red Hat Enterprise Linux 8python39-chardetNot affected
Red Hat Enterprise Linux 8python39-cryptographyNot affected
Red Hat Enterprise Linux 8python39-develNot affected
Red Hat Enterprise Linux 8python39-idleNot affected
Red Hat Enterprise Linux 8python39-idnaNot affected
Red Hat Enterprise Linux 8python39-libsNot affected
Red Hat Enterprise Linux 8python39-lxmlNot affected
Red Hat Enterprise Linux 8python39-mod_wsgiNot affected
Red Hat Enterprise Linux 8python39-numpyNot affected
Red Hat Enterprise Linux 8python39-numpy-docNot affected
Red Hat Enterprise Linux 8python39-numpy-f2pyNot affected
Red Hat Enterprise Linux 8python39-pipNot affected
Red Hat Enterprise Linux 8python39-pip-wheelNot affected
Red Hat Enterprise Linux 8python39-plyNot affected
Red Hat Enterprise Linux 8python39-psutilNot affected
Red Hat Enterprise Linux 8python39-psycopg2Not affected
Red Hat Enterprise Linux 8python39-psycopg2-docNot affected
Red Hat Enterprise Linux 8python39-psycopg2-testsNot affected
Red Hat Enterprise Linux 8python39-pycparserNot affected
Red Hat Enterprise Linux 8python39-pysocksNot affected
Red Hat Enterprise Linux 8python39-pyyamlNot affected
Red Hat Enterprise Linux 8python39-requestsNot affected
Red Hat Enterprise Linux 8python39-rpm-macrosNot affected
Red Hat Enterprise Linux 8python39-scipyNot affected
Red Hat Enterprise Linux 8python39-setuptoolsNot affected
Red Hat Enterprise Linux 8python39-setuptools-wheelNot affected
Red Hat Enterprise Linux 8python39-sixNot affected
Red Hat Enterprise Linux 8python39-testNot affected
Red Hat Enterprise Linux 8python39-tkinterNot affected
Red Hat Enterprise Linux 8python39-tomlNot affected
Red Hat Enterprise Linux 8python39-urllib3Not affected
Red Hat Enterprise Linux 8python39-wheelNot affected
Red Hat Enterprise Linux 8python39-wheel-wheelNot affected
Red Hat Enterprise Linux 8python3x-pipNot affected
Red Hat Enterprise Linux 8python3x-setuptoolsNot affected
Red Hat Enterprise Linux 8python3x-sixNot affected
Red Hat Enterprise Linux 8scipyNot affected
Red Hat Enterprise Linux 7pythonNot affected
Red Hat Enterprise Linux 7python-debugNot affected
Red Hat Enterprise Linux 7python-develNot affected
Red Hat Enterprise Linux 7python-libsNot affected
Red Hat Enterprise Linux 7python-testNot affected
Red Hat Enterprise Linux 7python-toolsNot affected
Red Hat Enterprise Linux 7python3Not affected
Red Hat Enterprise Linux 7python3-debugNot affected
Red Hat Enterprise Linux 7python3-develNot affected
Red Hat Enterprise Linux 7python3-idleNot affected
Red Hat Enterprise Linux 7python3-libsNot affected
Red Hat Enterprise Linux 7python3-testNot affected
Red Hat Enterprise Linux 7python3-tkinterNot affected
Red Hat Enterprise Linux 7tkinterNot affected
Red Hat Enterprise Linux 6pythonNot affected
Red Hat Enterprise Linux 6python-develNot affected
Red Hat Enterprise Linux 6python-libsNot affected
Red Hat Enterprise Linux 6python-testNot affected
Red Hat Enterprise Linux 6python-toolsNot affected
Red Hat Enterprise Linux 6tkinterNot affected

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.