Vulnerability in Python
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2020-8492 has been found in Python.
Risk of unauthorized operations or information disclosure. CVSS score: 6.5/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "Python CVE-2020-8492" on the vendor's site.
CVE-2020-8492 (Python) — CWE-400 / CVSS v3 6.5
Attack vector: remote (network-reachable) / unauthenticated
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-400) exists in Python.
Check the vendor advisory for the affected versions of Python.
Severity: Medium (CVSS 6.5/10). Risk of unauthorized operations or information disclosure.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'Python' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'Python' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
Pythonを grep し、稼働しているサービス・バージョンを把握する。 -
2
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Bitnamipython-min |
≥ 2.7.0, < 2.7.18→ 2.7.18 ≥ 3.5.0, < 3.5.10→ 3.5.10 ≥ 3.6.0, < 3.6.11→ 3.6.11 ≥ 3.7.0, < 3.7.7→ 3.7.7 ≥ 3.8.0, < 3.8.2→ 3.8.2 |
2.7.18 3.5.10 3.6.11 3.7.7 3.8.2 |
| Bitnamilibpython |
≥ 2.7.0, < 2.7.18→ 2.7.18 ≥ 3.5.0, < 3.5.10→ 3.5.10 ≥ 3.6.0, < 3.6.11→ 3.6.11 ≥ 3.7.0, < 3.7.7→ 3.7.7 ≥ 3.8.0, < 3.8.2→ 3.8.2 |
2.7.18 3.5.10 3.6.11 3.7.7 3.8.2 |
| Bitnamipython |
≥ 2.7.0, < 2.7.18→ 2.7.18 ≥ 3.5.0, < 3.5.10→ 3.5.10 ≥ 3.6.0, < 3.6.11→ 3.6.11 ≥ 3.7.0, < 3.7.7→ 3.7.7 ≥ 3.8.0, < 3.8.2→ 3.8.2 |
2.7.18 3.5.10 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.
- Alpine Linux ALPINE-CVE-2020-8492 python3 Fix available
- Debian DEBIAN-CVE-2020-8492 python2.7 Fix available
- Ubuntu UBUNTU-CVE-2020-8492 python3.8, python3.7, python3.6 +3 more Fix available
Original description The description as published by the source.
Python 2.7 through 2.7.17, 3.5 through 3.5.9, 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1 allows an HTTP server to conduct Regular Expression Denial of Service (ReDoS) attacks against a client because of urllib.request.AbstractBasicAuthHandler catastrophic backtracking.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory lists.opensuse.org
- advisory lists.debian.org
- advisory security.gentoo.org
- advisory security.netapp.com
- advisory usn.ubuntu.com
- advisory usn.ubuntu.com
- patch github.com
- report bugs.python.org
- report python-security.readthedocs.io
- web lists.apache.org
- web lists.apache.org
- web lists.debian.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web nvd.nist.gov
- web lists.apache.org
- web lists.apache.org
- web usn.ubuntu.com
- web usn.ubuntu.com
- web security.netapp.com
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web github.com
- web cert-portal.siemens.com