Security readout for executives and security teams
Plain-English summary
CVE-2021-28861 concerns Python's built-in http.server handling of paths that begin with multiple slashes. A crafted link could cause an open redirect and possible information disclosure. The issue is medium severity, disputed in part because Python documents http.server as unsuitable for production use.
Executive priority
Handle as a targeted hygiene issue, not an emergency. Prioritize internet-facing or business-facing uses first, then developer and lab environments. The main business risk is avoidable exposure from using a non-production Python module in places where users or external traffic can reach it.
Technical view
The reported weakness is CWE-601 in lib/http/server.py for Python 3.x through 3.10. The CVSS vector indicates network reachability, low attack complexity, no privileges, required user interaction, and high confidentiality impact. Public references include Python bug and pull request discussions plus Linux distribution advisories.
Likely exposure
Most exposure is likely where Python http.server is reachable by users, automation, or the internet. Production systems should not depend on it. Developer workstations, temporary file servers, lab environments, containers, and packaged Python runtimes may still carry the affected code path.
Exploitation context
The provided bundle does not show CISA KEV listing or active exploitation. Exploitation depends on user interaction and a reachable http.server instance. The CVE is also disputed because the module is explicitly documented as offering only basic security checks, not production-grade protections.
Researcher notes
Evidence supports an open redirect class issue in Python http.server with confidentiality impact, but affected product metadata is sparse and the record notes dispute. Avoid broad claims beyond Python 3.x through 3.10 and referenced distribution advisories unless confirmed from vendor-specific package data.
Mitigation direction
- Do not expose Python http.server as a production or internet-facing service.
- Update Python packages using Python or operating system vendor guidance.
- Review Fedora, Gentoo, Debian, and platform advisories for corrected package status.
- Replace http.server with a production web server for real workloads.
- Use edge validation as a compensating control only after vendor review.
Validation and detection
- Inventory systems, containers, scripts, and tools using Python http.server.
- Identify Python 3.x through 3.10 runtimes and distribution package versions.
- Confirm whether any http.server instance is reachable from untrusted networks.
- Review access logs for URI paths beginning with repeated slashes.
- Check whether vendor advisories mark the installed package as fixed.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-601: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2021-28861 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 6.5 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N2.83.6Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
6.5MediumVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://bugs.python.org/issue43223CVE reference
- https://github.com/python/cpython/pull/93879CVE reference
- https://github.com/python/cpython/pull/24848CVE reference
- FEDORA-2022-f511f8f58bCVE reference · vendor-advisory
- FEDORA-2022-7fff0f2b0bCVE reference · vendor-advisory
- FEDORA-2022-a27e239f5aCVE reference · vendor-advisory
- FEDORA-2022-a2be4bd5d8CVE reference · vendor-advisory
- FEDORA-2022-15f1aa7dc7CVE reference · vendor-advisory
- FEDORA-2022-fde69532dfCVE reference · vendor-advisory
- FEDORA-2022-61d8e8d880CVE reference · vendor-advisory
- FEDORA-2022-4ac2e16969CVE reference · vendor-advisory
- FEDORA-2022-2173709172CVE reference · vendor-advisory
- FEDORA-2022-01d5789c08CVE reference · vendor-advisory
- FEDORA-2022-d1682fef04CVE reference · vendor-advisory
- FEDORA-2022-79843dfb3cCVE reference · vendor-advisory
- FEDORA-2022-20116fb6aaCVE reference · vendor-advisory
- FEDORA-2022-7ca361a226CVE reference · vendor-advisory
- GLSA-202305-02CVE reference · vendor-advisory
- https://lists.debian.org/debian-lts-announce/2024/12/msg00000.htmlCVE reference
- https://lists.debian.org/debian-lts-announce/2024/11/msg00024.htmlCVE reference
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
URL Redirection to Untrusted Site ('Open Redirect')
URL Redirection to Untrusted Site ('Open Redirect') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
