{"id":"CVE-2023-38898","aliases":["CVE-2023-38898","PSF-2023-7","BIT-PYTHON-2023-38898"],"related":[],"kind":"vulnerability","state":"published","title":"Reference count issue in _asyncio._swap_current_task()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"An issue in Python CPython 3.12.0b1 allows an attacker to obtain sensitive information via the _asyncio._swap_current_task() component.","format":"markdown","source":"psf"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2023-08-15T00:00:00.000Z","modified":"2026-06-17T06:11:16.967Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"git","introduced":"a474e04388c2ef6aca75c26cb70a1b6200235feb","status":"affected","fixed":"d2cbb6e918d9ea39f0dd44acb53270f2dac07454"},{"type":"git","status":"affected","fixed":"9e6f8d46150c1a0af09d68ce63c603cf321994aa"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"status":"affected","version":"3.13.0"}],"vendor":"python","product":"python","cpe":"cpe:2.3:a:python:python:3.13.0:alpha0:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"3.13.0-alpha0","status":"affected","lastAffected":"3.13.0-alpha0"}],"ecosystem":"Bitnami","package":"python","purl":"pkg:bitnami/python","source":"bitnami"}],"references":[{"url":"https://github.com/python/cpython/issues/105987","tags":["exploit","issue-tracking","patch","web","x-transferred"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38898","tags":["advisory"],"sources":["psf"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-10-08T20:56:48.915Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-38898","url":"https://www.cve.org/CVERecord?id=CVE-2023-38898","licence":"CVE Terms of Use","modified":"2024-10-08T20:56:57.359Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-2023-7","url":"https://osv.dev/vulnerability/PSF-2023-7","licence":"CC-BY-4.0","modified":"2026-05-22T20:02:27.890Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-38898","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38898","licence":"Public domain","modified":"2026-06-17T06:11:16.967Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-2023-38898","url":"https://osv.dev/vulnerability/BIT-PYTHON-2023-38898","licence":"Apache-2.0","modified":"2026-05-22T15:41:31.287Z"}],"updatedAt":"2026-11-25T22:58:27.140Z","epss":{"score":0.00795,"percentile":0.5309,"date":"2026-11-30T12:00:22.000Z"}}