CVE-2022-27775
High · 7.5CVSS
7.5
EPSS
3.3%
Published
Jun 2, 2022
CISA due date
—
Cloudanix analysis
A flaw in widely used networking code can let attackers see data meant for someone else when certain address formats are involved, and many applications depend on the vulnerable code.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability permits reuse of a pooled IPv6 connection when the target address matches but the zone identifier differs, allowing cross-connection data leakage from prior sessions.
Why it matters to the business
Organizations face exposure of sensitive response data across dependent libraries and applications, amplified by 331 downstream dependents and the availability of public exploits nearly four years after publication.
How an attack unfolds
An attacker with network access supplies IPv6 addresses differing only in zone ID to trigger improper connection reuse from the pool, capturing responses intended for another context; named threat actors and public exploits have demonstrated this vector against affected curl versions.
How to fix it
Upgrade all affected curl installations and dependent packages; for pillow (Bitnami) deployments move to version 9.0.0 or later that incorporates corrected libcurl behavior.
How to confirm the fix worked
Verify curl version strings and package manifests show upgrades beyond 7.82.0; test connection pooling behavior with IPv6 zone-ID variants to confirm isolation; review build logs for the fixed pillow 9.0.0 dependency.
Typical attack path
- Scan for services using curl 7.65.0-7.82.0 or downstream packages such as affected pillow builds
- Craft requests containing IPv6 literals with alternate zone IDs that match pooled connection keys
- Force the client to select the reused connection instead of establishing a fresh one
- Observe or capture response data belonging to the prior connection context
How to detect it
Review application and curl debug logs for repeated IPv6 connection reuse events, mismatched zone-ID handling, or unexpected cross-request data leakage; examine proxy or client logs for patterns of IPv6 literals with zone suffixes.
What your security team should do
- Immediately inventory all systems for curl 7.65.0-7.82.0 and pillow (Bitnami) instances
- Prioritize upgrades to pillow (Bitnami) 9.0.0 and equivalent curl patches across the environment
- Monitor EPSS trend and exploit availability for any remaining unpatched assets
- Implement network segmentation and connection-pool logging until remediation completes
The record
An information disclosure vulnerability exists in curl 7.65.0 to 7.82.0 are vulnerable that by using an IPv6 address that was in the connection pool but with a different zone id it could reuse a connection instead.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| AlmaLinux:9 | curl | 0 | 7.76.1-19.el9 |
| AlmaLinux:9 | curl-minimal | 0 | 7.76.1-19.el9 |
| AlmaLinux:9 | libcurl | 0 | 7.76.1-19.el9 |
| AlmaLinux:9 | libcurl-devel | 0 | 7.76.1-19.el9 |
| AlmaLinux:9 | libcurl-minimal | 0 | 7.76.1-19.el9 |
| Alpine:v3.12 | curl | 0 | 7.79.1-r1 |
| Alpine:v3.13 | curl | 0 | 7.79.1-r1 |
| Alpine:v3.14 | curl | 0 | 7.79.1-r1 |
| Alpine:v3.15 | curl | 0 | 7.80.0-r1 |
| Alpine:v3.16 | curl | 0 | 7.83.0-r0 |
| Alpine:v3.17 | curl | 0 | 7.83.0-r0 |
| Alpine:v3.18 | curl | 0 | 7.83.0-r0 |
| Alpine:v3.19 | curl | 0 | 7.83.0-r0 |
| Alpine:v3.20 | curl | 0 | 7.83.0-r0 |
| Alpine:v3.21 | curl | 0 | 7.83.0-r0 |
| Alpine:v3.22 | curl | 0 | 7.83.0-r0 |
| Debian:11 | curl | 0 | 7.74.0-1.3+deb11u2 |
| Debian:12 | curl | 0 | 7.83.0-1 |
| Debian:13 | curl | 0 | 7.83.0-1 |
| Mageia:8 | curl | 0 | 7.74.0-1.5.mga8 |
| Red Hat:enterprise_linux:9::appstream | curl | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::appstream | curl-debuginfo | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::appstream | curl-debugsource | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::appstream | curl-minimal | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::appstream | curl-minimal-debuginfo | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::appstream | libcurl | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::appstream | libcurl-debuginfo | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::appstream | libcurl-devel | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::appstream | libcurl-minimal | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::appstream | libcurl-minimal-debuginfo | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::baseos | curl | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::baseos | curl-debuginfo | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::baseos | curl-debugsource | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::baseos | curl-minimal | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::baseos | curl-minimal-debuginfo | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::baseos | libcurl | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::baseos | libcurl-debuginfo | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::baseos | libcurl-devel | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::baseos | libcurl-minimal | 0 | 0:7.76.1-19.el9 |
| Red Hat:enterprise_linux:9::baseos | libcurl-minimal-debuginfo | 0 | 0:7.76.1-19.el9 |
| Rocky Linux:9 | curl | 0 | 0:7.76.1-19.el9_1.1 |
| SUSE:Linux Enterprise Micro 5.1 | curl | 0 | 7.66.0-150200.4.30.1 |
| SUSE:Linux Enterprise Micro 5.2 | curl | 0 | 7.66.0-150200.4.30.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP3 | curl | 0 | 7.66.0-150200.4.30.1 |
| Ubuntu:18.04:LTS | curl | 0 | 7.58.0-2ubuntu3.17 |
| Ubuntu:20.04:LTS | curl | 0 | 7.68.0-1ubuntu2.10 |
| Ubuntu:22.04:LTS | curl | 0 | 7.81.0-1ubuntu1.1 |
| openSUSE:Leap 15.3 | curl | 0 | 7.66.0-150200.4.30.1 |
| openSUSE:Tumbleweed | curl | 0 | 7.83.0-1.1 |
Related vulnerabilities
- CVE-2023-46218 This flaw allows a malicious HTTP server to set "super cookies" in curl that are then… Also affects curl
- CVE-2023-38545 This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy handshake. Also affects curl
- CVE-2023-38546 This flaw allows an attacker to insert cookies at will into a running program using… Also affects curl
- CVE-2023-28322 An information disclosure vulnerability exists in curl <v8.1.0 when doing HTTP(S)… Also affects curl
- CVE-2023-27533 A vulnerability in input validation exists in curl <8.0 during communication using the… Also affects curl
- CVE-2022-32221 When doing HTTP(S) transfers, libcurl might erroneously use the read callback… Also affects curl
- CVE-2022-27774 An insufficiently protected credentials vulnerability exists in curl 4.9 to and include… Also affects curl
- CVE-2022-22576 An improper authentication vulnerability exists in curl 7.33.0 to and including 7.82.0… Also affects curl