Improper certificate validation in https://github.com/curl/curl
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 3 fixed, 4 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-295.
Summary
libcurl would reuse a previously created connection even when a TLS or SSHrelated option had been changed that should have prohibited reuse.libcurl keeps previously used connections in a connection pool for subsequenttransfers to reuse if one of them matches the setup. However, several TLS andSSH settings were left out from the configuration match checks, making themmatch too easily.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | https://github.com/curl/curl | Fixed in 7.83.1 | — | No fix listed | CNA |
- https://github.com/curl/curl Vendor— Affected Fixed in 7.83.1 Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:* | before 7.83.1 | Vulnerable | Haxx |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
| cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:* | 8.2.0 to before 8.2.12; 9.0.0 to before 9.0.6 | Vulnerable | Splunk |
| cpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:* | 9.1.0 | Vulnerable | Splunk |
- cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:* Versions before 7.83.1 Vulnerable ·Haxx
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
- cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:* Versions 8.2.0 to before 8.2.12; 9.0.0 to before 9.0.6 Vulnerable ·Splunk
- cpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:* Versions 9.1.0 Vulnerable ·Splunk
Remediation
Red Hat 2 advisories
- RHSA-2022:5245 Released 2022-07-01 · Red Hat rating Moderatecurl security update
- Red Hat Enterprise Linux AppStream (v. 9) libcurl-devel-7.76.1-14.el9_0.4
- Red Hat Enterprise Linux BaseOS (v. 9) curl-7.76.1-14.el9_0.4, curl-minimal-7.76.1-14.el9_0.4, libcurl-7.76.1-14.el9_0.4 +1
- RHSA-2022:5313 Released 2022-06-30 · Red Hat rating Moderatecurl security update
- Red Hat Enterprise Linux BaseOS (v. 8) curl-7.61.1-22.el8_6.3, libcurl-7.61.1-22.el8_6.3, libcurl-devel-7.61.1-22.el8_6.3 +1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| .NET Core 3.1 on Red Hat Enterprise Linux | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2022:5245 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2022:5313 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2022:5245 |
Not affected: 1 product
- Red Hat JBoss Core Services
Timeline
- 2026-10-02 Threatist record created from CVE-2022-27782
- 2026-10-03 Alias added: GHSA-x38v-8q6p-w65c
References
Advisory 4
Sources
- CVE-2022-27782 · CVE Program
- CVE-2022-27782 · NVD
- FIRST EPSS
- GHSA-x38v-8q6p-w65c · GitHub Advisory Database · CC BY 4.0
- CVE-2022-27782 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences