THREATPORT/VULNERABILITY/CVE-2021-22947
MEDIUM SEVERITY

CVE-2021-22947

Curl vulnerability

CVSS
5.9
EPSS
3.0%
EPSS pct
86th
Exploited
No known
When curl >= 7.20.0 and <= 7.78.0 connects to an IMAP or POP3 server to retrieve data using STARTTLS to upgrade to TLS security, the server can respond and send back multiple responses at once that curl caches. curl would then upgrade to TLS but not flush the in-queue of cached responses but instead continue using and trustingthe responses it got *before* the TLS handshake as if they were authenticated.Using this flaw, it allows a Man-In-The-Middle attacker to first inject the fake responses, then pass-through the TLS traffic from the legitimate server and trick curl into sending data back to the user thinking the attacker's injected data comes from the TLS-protected server.
Affected vendor
Haxx
Affected product
Curl
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness type (CWE)
Published
2021-09-29

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, high attack complexity, requiring no privileges, no user interaction. Successful exploitation leads to high impact to integrity.

Its EPSS score of 3.0% reflects a lower probability of exploitation activity in the wild over the next 30 days, placing it above 86% of all scored CVEs.

Check your external exposure to CVE-2021-22947

  • Confirm whether Haxx Curl is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2021-22947.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2021-22947

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2021-22947 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2021-22947?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2021-22947.

Start free scan

No credit card. Agentless.