Use-After-Free in Python
Summary
Vulnerability in Python (CVE-2022-48560). Risk of unauthorized operations or information disclosure.
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A weakness called CVE-2022-48560 was discovered in Python.
In plain terms, it is a use-after-free flaw that often leads to attacker takeover.
Severity is High (CVSS 7.5/10). If exploited, attackers can leak data or disrupt key functionality.
What you should do: update the affected software to the latest version. If unsure, ask your IT team or search the vendor's site for "Python CVE-2022-48560".
CVE-2022-48560 (Python). Severity: High / CVSSv3 7.5. Category: CWE-416.
Response plan:
- Check the vendor advisory for affected versions and the patched release.
- If a vulnerable version is running in production, schedule maintenance (urgency from KEV/CVSS).
- If no patch yet, mitigate via WAF rule, disabling the affected feature, etc.
- Monitor logs / SIEM for known IOC and PoC signatures of this CVE.
PoCs and fix commits: see the 'References' section, MITRE, and NVD.
A weakness (CVE-2022-48560) in Python. In plain words, it is a use-after-free flaw that often leads to attacker takeover.
Target versions of Python (see vendor advisory). If running in production, identify exposure immediately.
Severity: High (CVSS 7.5/10). If exploited, attackers can leak data or disrupt key functionality.
Update to the patched release as listed in the vendor advisory. (Typical mitigation pattern for CWE-416)
If a patch is not yet available, consider disabling the affected feature, applying WAF rules, blocking via network ACLs, or isolating the vulnerable version.
Check version information, scan dependencies via SBOM, and monitor SIEM for IOC and PoC signatures related to this CVE.
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Bitnamilibpython |
< 3.6.11→ 3.6.11 ≥ 3.7.0, < 3.7.7→ 3.7.7 ≥ 3.8.0, < 3.8.2→ 3.8.2 |
3.6.11 3.7.7 3.8.2 |
| Bitnamipython-min |
< 3.6.11→ 3.6.11 ≥ 3.7.0, < 3.7.7→ 3.7.7 ≥ 3.8.0, < 3.8.2→ 3.8.2 |
3.6.11 3.7.7 3.8.2 |
| Bitnamipython |
< 3.6.11→ 3.6.11 ≥ 3.7.0, < 3.7.7→ 3.7.7 ≥ 3.8.0, < 3.8.2→ 3.8.2 |
3.6.11 3.7.7 3.8.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2022-48560 python2.7 Fix available
- Ubuntu UBUNTU-CVE-2022-48560 python3.8, python3.7, python3.6 +2 more Fix available
Original description The description as published by the source.
A use-after-free exists in Python through 3.9 via heappushpop in heapq.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory security.netapp.com
- advisory github.com
- web bugs.python.org
- web lists.debian.org
- web lists.debian.org
- web cert-portal.siemens.com
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web security.netapp.com
- web github.com
- web lists.fedoraproject.org
- web lists.fedoraproject.org