CVE-2023-26130 Other in yhirose/cpp-httplib

High 7.5 Published Updated

Attackers can inject CRLF characters into HTTP headers via untrusted input, causing logical errors in applications using this C++ library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-26130?

CVE-2023-26130 is a high-severity vulnerability in yhirose/cpp-httplib, published on 30 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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).

Weakness: CWE-74, CWE-77, CWE-93

Which versions are affected by CVE-2023-26130?

It affects 1 product.

Products include Cpp-Httplib Project Cpp-Httplib.

How do I fix CVE-2023-26130?

Upgrade to a fixed version.

Is CVE-2023-26130 being exploited?

There is no known exploitation of CVE-2023-26130 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2023-26130, GHSA-599g-p68q-2rxv, OESA-2023-1364, OESA-2023-1365, UBUNTU-CVE-2023-26130.

Is CVE-2023-26130 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free