Vulnerabilities · 2021 · Haxx
CVE-2021-22947
Haxx Curl vulnerability
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
Curl, Fedora, Debian Linux, Cloud Backup, Clustered Data Ontap, H300s Firmware, H500s Firmware, H700s Firmware, H300e Firmware, H500e Firmware and more. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Haxx Curl runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf · Patch
- www.oracle.com/security-alerts/cpuapr2022.html · Patch
- www.oracle.com/security-alerts/cpujan2022.html · Patch
- www.oracle.com/security-alerts/cpujul2022.html · Patch
- www.oracle.com/security-alerts/cpuoct2021.html · Patch
- seclists.org/fulldisclosure/2022/Mar/29 · Third Party Advisory
- hackerone.com/reports/1334763 · Exploit
- lists.debian.org/debian-lts-announce/2021/09/msg00022.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-22947
- cve.org/CVERecord?id=CVE-2021-22947
More vulnerabilities in Haxx products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.