CVEvulnerability

CVE-2021-22947

5.9 MEDIUM Published 2021-09-29 Modified 2026-10-14 Official page ↗
Status
Modified
Published
2021-09-29
Last modified
2026-10-14
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
Weaknesses
CWE-310, CWE-345

Description

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 configurations

• haxx curl (>= 7.20.0 < 7.79.0) • fedoraproject fedora 33 • fedoraproject fedora 35 • debian debian linux 9.0 • debian debian linux 10.0 • debian debian linux 11.0 • netapp cloud backup • netapp clustered data ontap • netapp h300s firmware • netapp h500s firmware • netapp h700s firmware • netapp h300e firmware • netapp h500e firmware • netapp h700e firmware • netapp h410s firmware • netapp solidfire baseboard management controller firmware • oracle communications cloud native core binding support function 1.11.0 • oracle communications cloud native core network function cloud native environment 1.10.0 • oracle communications cloud native core network repository function 1.15.0 • oracle communications cloud native core network repository function 1.15.1 • oracle communications cloud native core network slice selection function 1.8.0 • oracle communications cloud native core service communication proxy 1.15.0 • oracle mysql server (>= 5.7.0 <= 5.7.35) • oracle mysql server (>= 8.0.0 <= 8.0.26) • oracle peoplesoft enterprise peopletools 8.57 • oracle peoplesoft enterprise peopletools 8.58 • oracle peoplesoft enterprise peopletools 8.59 • siemens sinec infrastructure network services (< 1.0.1.1) • apple macos (< 12.3) • oracle commerce guided search 11.3.2 • oracle communications cloud native core binding support function 22.1.3 • oracle communications cloud native core console 22.2.0 • oracle communications cloud native core network repository function 22.1.2 • oracle communications cloud native core network repository function 22.2.0 • oracle communications cloud native core security edge protection proxy 22.1.1 • splunk universal forwarder (>= 8.2.0 < 8.2.12) • splunk universal forwarder (>= 9.0.0 < 9.0.6) • splunk universal forwarder 9.1.0

Related

Weakness · not in database (1)

Weakness · CWE (1)

  • CWE-345 Insufficient Verification of Data Authenticity weakness

References