CVE-2023-38898
JSON

5.3medium

Reference count issue in _asyncio._swap_current_task()

Severity
5.3medium CVSS:3.1 by NVD
Exploit likelihood
0.80% (higher than 53% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
PSF-2023-7BIT-PYTHON-2023-38898

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
https://github.com/python/cpythonfrom a474e04388c2ef6aca75c26cb70a1b6200235feb before d2cbb6e918d9ea39f0dd44acb53270f2dac07454, before 9e6f8d46150c1a0af09d68ce63c603cf321994aaPython Software Foundation
python python3.13.0NVD
python (Bitnami)from 3.13.0-alpha0 up to 3.13.0-alpha0Bitnami Vulnerability Database

All scores

NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

Python Software Foundation

An issue in Python CPython 3.12.0b1 allows an attacker to obtain sensitive information via the _asyncio._swap_current_task() component.

NVD (es)

Un problema en Python cpython v.3.7 permite a un atacante obtener información sensible a través del componente _asyncio._swap_current_task. NOTA: esto es discutido por el vendedor porque (1) ni la versión 3.7 ni ninguna otra está afectada (es un fallo en algunas versiones previas a la 3.12); (2) no hay escenarios comunes en los que un adversario pueda llamar a _asyncio._swap_current_task pero no tenga ya la capacidad de llamar a funciones arbitrarias; y (3) no hay escenarios comunes en los que información sensible, que no esté ya accesible para un adversario, se vuelva accesible a través de este fallo.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-38898 changed 2024-10-08CVE Terms of Use
Python Software FoundationPSF-2023-7 changed 2026-05-22CC-BY-4.0
NVDCVE-2023-38898 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-PYTHON-2023-38898 changed 2026-05-22Apache-2.0