CVE-2022-27776: Medium severity haxx curl vulnerability

Published Apr 25, 2022
·
Updated

A insufficiently protected credentials vulnerability in fixed in curl 7.83.0 might leak authentication or cookie header data on HTTP redirects to the same host but another port number.

Other sources

When asked to send custom headers or cookies in its HTTP requests, curl sends that set of headers only to the host which name is used in the initial URL, so that redirects to other hosts will make curl send the data to those. However, due to a flawed check, curl wrongly also sends that same set of headers to the hosts that are identical to the first one but use a different port number or URL scheme. Contrary to expectation and intention. Sending the same set of headers to a server on a different port number is a problem for applications that pass on custom Authorization: or Cookie: headers, as those headers often contain privacy sensitive information or data.

curl and libcurl have options that allow users to opt out from this check, but that is not set by default.

— Red Hat

Affected Software

52 affected componentsFixes available
debian/curl<=7.74.0-1.3+deb11u1, <=7.64.0-4+deb10u2, <=7.82.0-2
haxx curl<7.83.0
Fedoraproject Fedora=36
Fedoraproject Fedora=37
Debian Debian Linux=10.0
Debian Debian Linux=11.0
NetApp Hci Bootstrap Os
NetApp Hci Compute Node
NetApp Clustered Data ONTAP
NetApp Solidfire \& Hci Management Node
NetApp Solidfire \& Hci Storage Node
Brocade Fabric Operating System
NetApp H300s Firmware
NetApp H300s
NetApp H500s Firmware
NetApp H500s
NetApp H700s Firmware
NetApp H700s
NetApp H410s Firmware
NetApp H410s
All of the following
NetApp Hci Bootstrap Os
NetApp Hci Compute Node
Broadcom Fabric Operating System
All of the following
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H410s Firmware
NetApp H410s
Splunk Universal Forwarder>=8.2.0<8.2.12
Splunk Universal Forwarder>=9.0.0<9.0.6
Splunk Universal Forwarder=9.1.0
debian/curl
7.88.1-10+deb12u157.88.1-10+deb12u58.14.1-2+deb13u58.14.1-2+deb13u78.22.0-18.23.0-1
alpine/curl<7.79.1-r1
7.79.1-r1
alpine/curl<7.79.1-r1
7.79.1-r1
alpine/curl<7.79.1-r1
7.79.1-r1
alpine/curl<7.80.0-r1
7.80.0-r1
alpine/curl<7.83.0-r0
7.83.0-r0
alpine/curl<7.83.0-r0
7.83.0-r0
alpine/curl<7.83.0-r0
7.83.0-r0
alpine/curl<7.83.0-r0
7.83.0-r0
alpine/curl<7.83.0-r0
7.83.0-r0
alpine/curl<7.83.0-r0
7.83.0-r0
alpine/curl<7.83.0-r0
7.83.0-r0
alpine/curl<7.83.0-r0
7.83.0-r0
alpine/curl<7.83.0-r0
7.83.0-r0
debian/curl<7.83.0-1
7.83.0-1
debian/curl<7.83.0-1
7.83.0-1
debian/curl<7.83.0-1
7.83.0-1
redhat/curl<7.83.0
7.83.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 7.88.1-10+deb12u15Fixed in 7.88.1-10+deb12u5Fixed in 8.14.1-2+deb13u5Fixed in 8.14.1-2+deb13u7Fixed in 8.22.0-1Fixed in 8.23.0-1
  2. Upgrade

    Upgrade alpine/curl to a version that resolves this vulnerability.

    Fixed in 7.79.1-r1
  3. Upgrade

    Upgrade alpine/curl to a version that resolves this vulnerability.

    Fixed in 7.80.0-r1
  4. Upgrade

    Upgrade alpine/curl to a version that resolves this vulnerability.

    Fixed in 7.83.0-r0
  5. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 7.83.0-1
  6. Upgrade

    Upgrade redhat/curl to a version that resolves this vulnerability.

    Fixed in 7.83.0
  7. Upgrade

    Upgrade curl to a version that resolves this vulnerability.

    Fixed in 7.83.0

Event History

Apr 25, 2022
Data Sourced
via Red Hat·08:58 AM
DescriptionSeverityAffected Software
Jun 1, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Jun 2, 2022
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·02:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-27776?

CVE-2022-27776 refers to an insufficiently protected credentials vulnerability in curl 7.83.0.

2

What is the severity of CVE-2022-27776?

The severity of CVE-2022-27776 is high (6.5).

3

How does CVE-2022-27776 impact users?

CVE-2022-27776 might leak authentication or cookie header data on HTTP redirects to the same host but another port number.

4

Which software versions are affected by CVE-2022-27776?

The vulnerable software versions include curl 7.64.0-4+deb10u7, 7.74.0-1.3+deb11u9, 7.74.0-1.3+deb11u10, 7.88.1-10+deb12u3, 7.88.1-10+deb12u4, and 8.4.0-2.

5

Where can I find more information about CVE-2022-27776?

You can find more information about CVE-2022-27776 at the following references: [link1], [link2], [link3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203