Vulnerability · Published Jun 1, 2022 · Assigned by hackerone
CVE-2022-27774
Medium 5.7
In plain English
A medium-severity security flaw in https://github.com/curl/curl. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.7Medium
Exploit odds (30 days)2.0%top 19.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
An insufficiently protected credentials vulnerability exists in curl 4.9 to and include curl 7.82.0 are affected that could allow an attacker to extract credentials when follows HTTP(S) redirects is used with authentication could leak credentials to other services that exist on different protocols or port numbers.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | curl | 7.61.1-22.el8_6.3 | ALSA-2022:5313 |
| AlmaLinux:8 | libcurl | 7.61.1-22.el8_6.3 | ALSA-2022:5313 |
| AlmaLinux:8 | libcurl-devel | 7.61.1-22.el8_6.3 | ALSA-2022:5313 |
| AlmaLinux:8 | libcurl-minimal | 7.61.1-22.el8_6.3 | ALSA-2022:5313 |
| Alpine:v3.20 | curl | 7.83.0-r0 | ALPINE-CVE-2022-27774 |
| Alpine:v3.21 | curl | 7.83.0-r0 | ALPINE-CVE-2022-27774 |
| Alpine:v3.22 | curl | 7.83.0-r0 | ALPINE-CVE-2022-27774 |
| Alpine:v3.23 | curl | 7.83.0-r0 | ALPINE-CVE-2022-27774 |
| Alpine:v3.24 | curl | 7.83.0-r0 | ALPINE-CVE-2022-27774 |
| Debian:12 | curl | 7.83.0-1 | DEBIAN-CVE-2022-27774 |
| Debian:13 | curl | 7.83.0-1 | DEBIAN-CVE-2022-27774 |
| Debian:14 | curl | 7.83.0-1 | DEBIAN-CVE-2022-27774 |
| Rocky Linux:8 | curl | 0:7.61.1-22.el8_6.3 | RLSA-2022:5313 |
| Ubuntu:22.04:LTS | curl | 7.81.0-1ubuntu1.1 | UBUNTU-CVE-2022-27774 |
| Ubuntu:22.04:LTS | curl | 7.81.0-1ubuntu1.1 | USN-5397-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/curl/curl | curl 4.9 to and include curl 7.82.0 are affected |
Weakness: CWE-522 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N