8.1high
OAUTH2 bearer bypass in connection reuse
- Severity
- 8.1high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.99% (higher than 81% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- CURL-CVE-2022-22576
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
| Product or package | Versions | Reported by |
|---|---|---|
| https://github.com/curl/curl | Fixed in curl 7.83.0 | CVE List |
| https://github.com/curl/curl.git | from 7.33.0 before 7.83.0, from 19a05c908f7d8be82de6f69f533317d8a0db49dd before 852aa5ad351ea53e5f01d2f44b5b4370c2bf5425 | curl |
| haxx curl | from 7.33.0 before 7.83.0 | NVD |
| debian debian_linux | 10.0, 11.0 | NVD |
| netapp clustered_data_ontap | Not specified | NVD |
| netapp solidfire_&_hci_management_node | Not specified | NVD |
| netapp solidfire_&_hci_storage_node | Not specified | NVD |
| broadcom fabric_operating_system | Not specified | NVD |
| netapp bootstrap_os | Not specified | NVD |
| netapp h300s_firmware | Not specified | NVD |
| netapp h500s_firmware | Not specified | NVD |
| netapp h700s_firmware | Not specified | NVD |
| netapp h410s_firmware | Not specified | NVD |
| splunk universal_forwarder | from 8.2.0 before 8.2.12, from 9.0.0 before 9.0.6, 9.1.0 | NVD |
All scores
| CISA-ADP | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| curl | medium rating | |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 5.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Classification
What each source says
CVE List
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).
curl
libcurl might 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: SMTP(S), IMAP(S), POP3(S) and LDAP(S) (OpenLDAP only).
libcurl maintains a pool of live connections after a transfer has completed (sometimes called the connection cache). This pool of connections is then gone through when a new transfer is requested and if there is a live connection available that can be reused, it is preferred instead of creating a new one.
Due to this security vulnerability, a connection that is successfully created and authenticated with a username + OAUTH2 bearer could subsequently be erroneously reused even for user + [other OAUTH2 bearer], even though that might not even be a valid bearer. This could lead to an authentication bypass, either by mistake or by a malicious actor.
NVD (es)
Se presenta una vulnerabilidad de autenticación inapropiada en curl versiones 7.33.0 hasta 7.82.0 incluyéndola, que podría permitir reúso de conexiones autenticadas por OAUTH2 sin asegurarse apropiadamente de que la conexión fue autenticada con las mismas credenciales establecidas para esta transferencia. Esto afecta a los protocolos con SASL: SMPTP(S), IMAP(S), POP3(S) y LDAP(S) (sólo openldap)
References
| https://hackerone.com/reports/1526328 | exploit, issue-tracking, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20220609-0008/ | third-party-advisory | |
| https://www.debian.org/security/2022/dsa-5197 | third-party-advisory, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2022/08/msg00017.html | mailing-list, third-party-advisory | |
| https://security.gentoo.org/glsa/202212-01 | third-party-advisory, vendor-advisory | |
| https://cert-portal.siemens.com/productcert/html/ssa-146325.html | ||
| https://cert-portal.siemens.com/productcert/html/ssa-398330.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-22576 changed 2026-10-14 | CVE Terms of Use |
| curl | CURL-CVE-2022-22576 changed 2026-10-25 | MIT |
| NVD | CVE-2022-22576 changed 2026-10-14 | Public domain |