RCE in Cpp-Httplib Project
CVE-2023-26130
Versions of the package yhirose/cpp-httplib before 0.12.4 are vulnerable to CRLF Injection when untrusted user input is used to set the content-type header in the HTTP .Patch, .Post, .Put and .Delete requests. This can lead to logical errors and other misbehaviors. **Note:** This issue is present due to an incomplete fix for [CVE-2020-11709](https://security.snyk.io/vuln/SNYK-UNMANAGED-YHIROSECPPHTTPLIB-2366507).
Vulnerability class: CRLF Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.011, 67.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Cpp-Httplib Project
- Yhirose/cpp-Httplib — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (dellalibera/dellalibera, fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- security.snyk.io/vuln/SNYK-UNMANAGED-YHIROSECPPHTTPLIB-5591194 (Third Party Advisory)
- gist.github.com/dellalibera/094aece17a86069a7d27f93c8aba2280 (Third Party Advisory)
- github.com/yhirose/cpp-httplib/releases/tag/v0.12.4 (Release Notes)
- github.com/yhirose/cpp-httplib/commit/5b397d455d25a391ba346863830c1949627b4d08 (Patch)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…