LiveActive security incident?Get immediate response
CVE Record

CVE-2021-41945: Encode OSS httpx < 0.23.0 is affected by improper input validation in `httpx.URL`, `httpx.Client` and some...

Encode OSS httpx < 0.23.0 is affected by improper input validation in `httpx.URL`, `httpx.Client` and some functions using `httpx.URL.copy_with`.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2021-41945 concerns improper input validation in the Python httpx library before 0.23.0. The business risk is that applications may handle malformed or unexpected URLs incorrectly when building client requests. The provided sources do not include CVSS, CWE, impact detail, or evidence of active exploitation.

Executive priority

Treat this as a dependency hygiene item requiring inventory and upgrade, not as a confirmed emergency. Prioritize internet-facing services or workflows where untrusted users can influence outbound request URLs.

Technical view

The CVE names input validation flaws in httpx.URL, httpx.Client, and functions using httpx.URL.copy_with for httpx versions below 0.23.0. Public metadata is sparse, so exposure should be confirmed by dependency inventory and application review where user-controlled URL components reach httpx URL construction or request logic.

Likely exposure

Exposure is most likely in Python applications or services that include encode/httpx below 0.23.0, directly or transitively. Risk is higher where external input influences URL construction, request destinations, redirects, or proxy-related request handling.

Exploitation context

The source bundle does not identify active exploitation, and CISA KEV status is false. Public references include discussion, issue, gist, repository, and the 0.23.0 release, but the provided metadata does not establish real-world abuse or exploit maturity.

Researcher notes

Evidence is incomplete: no CVSS vector, CWE, affected CPEs, or detailed impact is present in the bundle. Keep conclusions narrow to improper input validation in httpx before 0.23.0 and avoid assuming SSRF, authentication bypass, or exploitability without vendor-supported detail.

Mitigation direction

  • Inventory Python dependencies for httpx versions below 0.23.0.
  • Upgrade httpx to 0.23.0 or later where compatible.
  • Check upstream vendor guidance and project release notes before production rollout.
  • Review URL-handling code paths that accept user-controlled input.
  • Add input validation around externally supplied URLs or URL components.

Validation and detection

  • Check dependency lockfiles and runtime packages for httpx versions.
  • Identify transitive dependencies that pin httpx below 0.23.0.
  • Review code using httpx.URL, httpx.Client, or URL copy helpers.
  • Confirm tests cover malformed and unexpected URL inputs.
  • Verify deployed environments match remediated dependency versions.
Prepared
Confidence
medium
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

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.

cve · low confidence lookup

CVE-2021-41945 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

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.

0CVSS vectors
3Timeline events
1ADP providers
6Source links

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.