Vulnerability · Published May 26, 2022 · Assigned by hackerone

CVE-2022-22576

High 8.1

In plain English

A high-severity improper authentication 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.5% (higher than 85% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)2.5%top 15.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

An improper authentication vulnerability exists in curl 7.33.0 to and including 7.82.0 which might allow reuse OAUTH2-authenticated connections without properly making sure that the connection was authenticated with the same credentials as set for this transfer. This affects SASL-enabled protocols: SMPTP(S), IMAP(S), POP3(S) and LDAP(S) (openldap only).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8curl7.61.1-22.el8_6.3ALSA-2022:5313
AlmaLinux:8libcurl7.61.1-22.el8_6.3ALSA-2022:5313
AlmaLinux:8libcurl-devel7.61.1-22.el8_6.3ALSA-2022:5313
AlmaLinux:8libcurl-minimal7.61.1-22.el8_6.3ALSA-2022:5313
Alpine:v3.20curl7.83.0-r0ALPINE-CVE-2022-22576
Alpine:v3.21curl7.83.0-r0ALPINE-CVE-2022-22576
Alpine:v3.22curl7.83.0-r0ALPINE-CVE-2022-22576
Alpine:v3.23curl7.83.0-r0ALPINE-CVE-2022-22576
Alpine:v3.24curl7.83.0-r0ALPINE-CVE-2022-22576
Debian:12curl7.83.0-1DEBIAN-CVE-2022-22576
Debian:13curl7.83.0-1DEBIAN-CVE-2022-22576
Debian:14curl7.83.0-1DEBIAN-CVE-2022-22576
Rocky Linux:8curl0:7.61.1-22.el8_6.3RLSA-2022:5313
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.1UBUNTU-CVE-2022-22576
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.1USN-5397-1

Affected products (as reported)

VendorProductVersions
n/a https://github.com/curl/curl Fixed in curl 7.83.0

Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

References