Information Disclosure Vulnerability in Curl Package

curl Updated 02 Oct 2025

Summary

02/06/2022
N/A
Yes i
High
7.5

ALPINE-CVE-2022-27775: 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. Affects curl versions < 7.79.1-r1. Fixed in 7.79.1-r1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Curl is a widely used command-line tool and library for transferring data with URLs. It supports various protocols including HTTP, HTTPS, FTP, and more. Curl is known for its versatility and is commonly used in scripts, applications, and web services. However, certain versions of Curl are vulnerable to an information disclosure issue that can arise when handling IPv6 addresses in connection pools.

Vulnerability Detail

An information disclosure vulnerability exists in Curl versions 7.65.0 to 7.82.0. This vulnerability allows an attacker to exploit the connection pooling mechanism by using an IPv6 address that is already in the connection pool but with a different zone ID. This could lead to the reuse of a connection, potentially exposing sensitive information. The vulnerability is classified with a CVSS score of 7.5, indicating a high severity level.

How To Fix

Minimum fixed version

7.79.1-r1

This is the first release that contains the fix.

sudo apk add --upgrade curl

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a workaround, consider avoiding the use of IPv6 addresses in connection pools until the package is updated. This can help mitigate the risk of information disclosure until a patch is applied.

Conclusion

The information disclosure vulnerability in Curl poses a significant risk to applications using affected versions. It is crucial to update to the latest patched versions to mitigate this risk. Users should also consider using Vulert to monitor their applications for vulnerabilities in real-time.

See every vulnerability recorded for curl →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

Curl versions 7.65.0 to 7.82.0 are vulnerable to this information disclosure issue.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup.

As a temporary measure, avoid using IPv6 addresses in connection pools until you can apply the necessary updates.

Detailed information can be found in the CVE-2022-27775 documentation and the Alpine Linux security advisories.

Related vulnerabilities

Recent vulnerabilities recorded for curl.

How To Fix

Minimum fixed version

7.79.1-r1

This is the first release that contains the fix.

sudo apk add --upgrade curl

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback