# CVE-2021-22947

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-09-29 · Modified: 2026-10-14
- Aliases: ALPINE-CVE-2021-22947, UBUNTU-CVE-2021-22947, DEBIAN-CVE-2021-22947
- Record: https://cvemate.com/vulnerability/CVE-2021-22947 · JSON: https://cvemate.com/vulnerability/CVE-2021-22947/json

## Description

```text
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.
```

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 3.022%, percentile 87.883%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected (first 20 of 29)

- alpine curl (Alpine Linux): ≥ 7.20.0, \< 7.79.0-r0
- apple macos: \< 12.3
- debian curl (Debian): \< 7.79.1-1
- ubuntu curl (Ubuntu): \< 7.35.0-1ubuntu2.20+esm8 \| \< 7.47.0-1ubuntu2.19+esm1 \| \< 7.58.0-2ubuntu3.15 \| \< 7.68.0-1ubuntu2.7 \| \< 7.74.0-1.3ubuntu2
- debian debian\_linux: 9.0 \| 10.0 \| 11.0
- fedoraproject fedora: 33 \| 35
- haxx curl: ≥ 7.20.0, \< 7.79.0
- netapp cloud\_backup: na
- netapp clustered\_data\_ontap: na
- netapp h300e\_firmware: na
- netapp h300s\_firmware: na
- netapp h410s\_firmware: na
- netapp h500e\_firmware: na
- netapp h500s\_firmware: na
- netapp h700e\_firmware: na
- netapp h700s\_firmware: na
- netapp solidfire\_baseboard\_management\_controller\_firmware: na
- oracle commerce\_guided\_search: 11.3.2
- oracle communications\_cloud\_native\_core\_binding\_support\_function: 1.11.0 \| 22.1.3
- oracle communications\_cloud\_native\_core\_console: 22.2.0

## References (first 20 of 28)

- <https://hackerone.com/reports/1334763>
- <https://lists.debian.org/debian-lts-announce/2021/09/msg00022.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RWLEC6YVEM2HWUBX67SDGPSY4CQB72OE/>
- <https://www.oracle.com/security-alerts/cpuoct2021.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APOAK4X73EJTAPTSVT7IRVDMUWVXNWGD/>
- <https://www.oracle.com/security-alerts/cpujan2022.html>
- <https://security.netapp.com/advisory/ntap-20211029-0003/>
- <http://seclists.org/fulldisclosure/2022/Mar/29>
- <https://www.oracle.com/security-alerts/cpuapr2022.html>
- <https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf>
- <https://support.apple.com/kb/HT213183>
- <https://www.oracle.com/security-alerts/cpujul2022.html>
- <https://www.debian.org/security/2022/dsa-5197>
- <https://lists.debian.org/debian-lts-announce/2022/08/msg00017.html>
- <https://security.gentoo.org/glsa/202212-01>
- <https://security.alpinelinux.org/vuln/CVE-2021-22947>
- <https://ubuntu.com/security/CVE-2021-22947>
- <https://curl.se/docs/CVE-2021-22947.html>
- <https://ubuntu.com/security/notices/USN-5079-1>
- <https://ubuntu.com/security/notices/USN-5079-2>

---

Data as of 2026-12-05T02:54:50.359Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
