CVE-2021-22947 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 cu...
MediumCVSS 5.9
EPSS 3.0%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/curl(Debian:12) | < 7.79.1-1 | 7.79.1-1 |
| debian/curl(Debian:13) | < 7.79.1-1 | 7.79.1-1 |
| debian/curl(Debian:14) | < 7.79.1-1 | 7.79.1-1 |
| ubuntu/curl(Ubuntu:22.04) | < 7.74.0-1.3ubuntu2 | 7.74.0-1.3ubuntu2 |
| alpine/curl(Alpine:v3.11) | >= 7.20.0, < 7.79.0-r0 | 7.79.0-r0 |
| alpine/curl(Alpine:v3.12) | >= 7.20.0, < 7.79.0-r0 | 7.79.0-r0 |
| alpine/curl(Alpine:v3.13) | >= 7.20.0, < 7.79.0-r0 | 7.79.0-r0 |
| alpine/curl(Alpine:v3.14) | >= 7.20.0, < 7.79.0-r0 | 7.79.0-r0 |
| alpine/curl(Alpine:v3.15) | >= 7.20.0, < 7.79.0-r0 | 7.79.0-r0 |
| alpine/curl(Alpine:v3.16) | >= 7.20.0, < 7.79.0-r0 | 7.79.0-r0 |
| alpine/curl(Alpine:v3.17) | >= 7.20.0, < 7.79.0-r0 | 7.79.0-r0 |
| alpine/curl(Alpine:v3.18) | >= 7.20.0, < 7.79.0-r0 | 7.79.0-r0 |
| alpine/curl(Alpine:v3.19) | >= 7.20.0, < 7.79.0-r0 | 7.79.0-r0 |
| alpine/curl(Alpine:v3.20) | >= 7.20.0, < 7.79.0-r0 | 7.79.0-r0 |
| alpine/curl(Alpine:v3.21) | >= 7.20.0, < 7.79.0-r0 | 7.79.0-r0 |
| alpine/curl(Alpine:v3.22) | >= 7.20.0, < 7.79.0-r0 | 7.79.0-r0 |
| alpine/curl(Alpine:v3.23) | >= 7.20.0, < 7.79.0-r0 | 7.79.0-r0 |
| alpine/curl(Alpine:v3.24) | >= 7.20.0, < 7.79.0-r0 | 7.79.0-r0 |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| haxx curl | >= 7.20.0, < 7.79.0 | 7.79.0 |
| fedoraproject fedora | = 33 | No fix listed |
| fedoraproject fedora | = 35 | No fix listed |
| debian linux | = 9.0 | No fix listed |
Show 118 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian linux | = 10.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| netapp cloud backup | All versions | No fix listed |
| netapp clustered data ontap | All versions | No fix listed |
| netapp h300s firmware | All versions | No fix listed |
| netapp h500s firmware | All versions | No fix listed |
| netapp h700s firmware | All versions | No fix listed |
| netapp h300e firmware | All versions | No fix listed |
| netapp h500e firmware | All versions | No fix listed |
| netapp h700e firmware | All versions | No fix listed |
| netapp h410s firmware | All versions | No fix listed |
| netapp solidfire baseboard management controller firmware | All versions | No fix listed |
| oracle communications cloud native core binding support function | = 1.11.0 | No fix listed |
| oracle communications cloud native core binding support function | = 22.1.3 | No fix listed |
| oracle communications cloud native core network function cloud native environment | = 1.10.0 | No fix listed |
| oracle communications cloud native core network repository function | = 1.15.0 | No fix listed |
| oracle communications cloud native core network repository function | = 1.15.1 | No fix listed |
| oracle communications cloud native core network repository function | = 22.1.2 | No fix listed |
| oracle communications cloud native core network repository function | = 22.2.0 | No fix listed |
| oracle communications cloud native core network slice selection function | = 1.8.0 | No fix listed |
| oracle communications cloud native core service communication proxy | = 1.15.0 | No fix listed |
| oracle mysql server | >= 5.7.0, <= 5.7.35 | No fix listed |
| oracle mysql server | >= 8.0.0, <= 8.0.26 | No fix listed |
| oracle PeopleSoft Enterprise PeopleTools | = 8.57 | No fix listed |
| oracle PeopleSoft Enterprise PeopleTools | = 8.58 | No fix listed |
| oracle PeopleSoft Enterprise PeopleTools | = 8.59 | No fix listed |
| Siemens sinec infrastructure network services | < 1.0.1.1 | 1.0.1.1 |
| apple macos | < 12.3 | 12.3 |
| oracle commerce guided search | = 11.3.2 | No fix listed |
| oracle communications cloud native core console | = 22.2.0 | No fix listed |
| oracle communications cloud native core security edge protection proxy | = 22.1.1 | No fix listed |
| Splunk Universal Forwarder | >= 8.2.0, < 8.2.12 | 8.2.12 |
| Splunk Universal Forwarder | >= 9.0.0, < 9.0.6 | 9.0.6 |
| Splunk Universal Forwarder | = 9.1.0 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | < 7.35.0-1ubuntu2.20+esm8 | 7.35.0-1ubuntu2.20+esm8 |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.32.0-1ubuntu1 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.33.0-1ubuntu1 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.34.0-1ubuntu1 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu1 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.1 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.2 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.3 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.5 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.6 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.7 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.8 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.9 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.10 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.11 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.12 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.13 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.14 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.15 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.16 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.17 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.19 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.20 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.20+esm2 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.20+esm3 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.20+esm4 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.20+esm5 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.20+esm6 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:14.04) | = 7.35.0-1ubuntu2.20+esm7 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | < 7.47.0-1ubuntu2.19+esm1 | 7.47.0-1ubuntu2.19+esm1 |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.43.0-1ubuntu2 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.45.0-1ubuntu1 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.46.0-1ubuntu1 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu1 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.1 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.2 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.3 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.4 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.5 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.6 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.7 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.8 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.9 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.11 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.12 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.13 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.14 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.15 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.16 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.18 | No fix listed |
| ubuntu/curl(Ubuntu:Pro:16.04) | = 7.47.0-1ubuntu2.19 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | < 7.58.0-2ubuntu3.15 | 7.58.0-2ubuntu3.15 |
| ubuntu/curl(Ubuntu:18.04) | = 7.55.1-1ubuntu2 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.55.1-1ubuntu2.1 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.57.0-1ubuntu1 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.58.0-2ubuntu1 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.58.0-2ubuntu2 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.58.0-2ubuntu3 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.58.0-2ubuntu3.1 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.58.0-2ubuntu3.2 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.58.0-2ubuntu3.3 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.58.0-2ubuntu3.5 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.58.0-2ubuntu3.6 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.58.0-2ubuntu3.7 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.58.0-2ubuntu3.8 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.58.0-2ubuntu3.9 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.58.0-2ubuntu3.10 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.58.0-2ubuntu3.12 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.58.0-2ubuntu3.13 | No fix listed |
| ubuntu/curl(Ubuntu:18.04) | = 7.58.0-2ubuntu3.14 | No fix listed |
| ubuntu/curl(Ubuntu:20.04) | < 7.68.0-1ubuntu2.7 | 7.68.0-1ubuntu2.7 |
| ubuntu/curl(Ubuntu:20.04) | = 7.65.3-1ubuntu3 | No fix listed |
| ubuntu/curl(Ubuntu:20.04) | = 7.65.3-1ubuntu4 | No fix listed |
| ubuntu/curl(Ubuntu:20.04) | = 7.66.0-1ubuntu1 | No fix listed |
| ubuntu/curl(Ubuntu:20.04) | = 7.67.0-2ubuntu1 | No fix listed |
| ubuntu/curl(Ubuntu:20.04) | = 7.68.0-1ubuntu1 | No fix listed |
| ubuntu/curl(Ubuntu:20.04) | = 7.68.0-1ubuntu2 | No fix listed |
| ubuntu/curl(Ubuntu:20.04) | = 7.68.0-1ubuntu2.1 | No fix listed |
| ubuntu/curl(Ubuntu:20.04) | = 7.68.0-1ubuntu2.2 | No fix listed |
| ubuntu/curl(Ubuntu:20.04) | = 7.68.0-1ubuntu2.4 | No fix listed |
| ubuntu/curl(Ubuntu:20.04) | = 7.68.0-1ubuntu2.5 | No fix listed |
| ubuntu/curl(Ubuntu:20.04) | = 7.68.0-1ubuntu2.6 | No fix listed |
References
- Debian Security Tracker CVE-2021-22947 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-5079-1 vendor-advisory
- USN-5079-2 vendor-advisory
- USN-5079-3 vendor-advisory
- USN-5079-4 vendor-advisory
- www.cve.org issue-tracking
- security.alpinelinux.org vendor-advisory
- hackerone.com exploit issue-tracking third-party-advisory
- [debian-lts-announce] 20210930 [SECURITY] [DLA 2773-1] curl security update mailing-list third-party-advisory
- FEDORA-2021-fc96a3a749 mailing-list third-party-advisory vendor-advisory
- www.oracle.com patch third-party-advisory
- FEDORA-2021-1d24845e93 mailing-list third-party-advisory vendor-advisory
- www.oracle.com patch third-party-advisory
- security.netapp.com third-party-advisory
- 20220314 APPLE-SA-2022-03-14-4 macOS Monterey 12.3 mailing-list third-party-advisory
- www.oracle.com patch third-party-advisory
- cert-portal.siemens.com patch third-party-advisory
- support.apple.com release-notes third-party-advisory
- www.oracle.com patch third-party-advisory
- DSA-5197 third-party-advisory vendor-advisory
- [debian-lts-announce] 20220828 [SECURITY] [DLA 3085-1] curl security update mailing-list third-party-advisory
- GLSA-202212-01 third-party-advisory vendor-advisory
- cert-portal.siemens.com
- cert-portal.siemens.com
- curl.se issue-tracking
- launchpad.net issue-tracking