CVE-2023-38898: Python cpython - Information Disclosure
- Cve: CVE-2023-38898
- Name: Python cpython - Information Disclosure
- 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.
- Impact: Potential exposure of sensitive information, but the vendor disputes the existence of the vulnerability in the specified version.
- Remediation: Update to the latest stable release of Python, as the issue is disputed and not confirmed in 3.7.
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.01739
- Epss percentile: 0.78316
- Assignee: [email protected]
- Published at: 2023-08-15T17:15:12Z
- Age in days: 1197
- Modified at: 2026-06-17T06:11:16Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-38898
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-Other | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/python/cpython/issues/105987 | nvd | 2023-08-15 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/python/cpython/issues/105987 | nvd | Exploit, Issue Tracking, Patch |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| python:python | = 3.13.0 alpha0 | no | nvd | /v1/products/python/python |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| python/cpython | fix, issues | yes | /v1/repositories/python/cpython |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-08-15
- Remote: yes
- Exposed hosts: 5115604
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports