{"id":"CVE-2023-38898","aliases":["BIT-python-2023-38898","EUVD-2023-42659","GHSA-73qf-r7xg-3ghc","PSF-2023-7"],"status":"disputed","title":"An issue in Python cpython v.3.7 allows an attacker to obtain sensitive information via the...","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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01739,"percentile":0.7791,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2023-08-15T00:00:00Z","modified":"2026-06-17T06:11:16Z","affected":[{"source":"osv","ecosystem":"Bitnami","package":"python","ranges":[{"type":"SEMVER","events":[{"introduced":"3.13.0-alpha0"},{"last_affected":"3.13.0-alpha0"}]}]}],"products":[{"vendor":"python","product":"python"}],"references":[{"url":"https://github.com/python/cpython/issues/105987","tags":["x_transferred","Exploit","Issue Tracking","Patch","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38898","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-73qf-r7xg-3ghc"}],"sources":{"cve":[{"id":"CVE-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.","status":"disputed","published":"2023-08-15T00:00:00Z","modified":"2024-10-08T20:56:57.359Z","updated_at":"2026-11-02T14:35:30.116696Z"}],"euvd":[{"id":"EUVD-2023-42659","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.","status":"published","published":"2023-08-15T00:00:00Z","modified":"2024-10-08T20:56:57Z","updated_at":"2026-11-03T00:27:43.911558Z"}],"ghsa":[{"id":"GHSA-73qf-r7xg-3ghc","title":"An issue in Python cpython v.3.7 allows an attacker to obtain sensitive information via the...","description":"An issue in Python cpython v.3.7 allows an attacker to obtain sensitive information via the _asyncio._swap_current_task component.","status":"published","published":"2023-08-15T18:31:32Z","modified":"2024-03-21T03:35:37Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T14:55:42.026509Z"}],"nvd":[{"id":"CVE-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.","status":"disputed","published":"2023-08-15T17:15:12.187Z","modified":"2026-06-17T06:11:16.967Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:08:24.487686Z"}],"osv":[{"id":"BIT-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.","status":"published","published":"2024-03-06T11:03:22.682Z","modified":"2026-05-22T15:41:31.28739611Z","updated_at":"2026-11-02T15:28:34.724063Z"},{"id":"PSF-2023-7","title":"Reference count issue in _asyncio._swap_current_task()","description":"An issue in Python CPython 3.12.0b1 allows an attacker to obtain sensitive information via the _asyncio._swap_current_task() component.","status":"published","published":"2023-08-15T00:00:00Z","modified":"2026-05-22T20:02:27.890314Z","updated_at":"2026-11-02T15:52:50.263679Z"}]}}
