CVE-2023-26130
Cpp-httplib Project Cpp-httplib vulnerability
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).
Affected products
Cpp-httplib. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cpp-httplib Project Cpp-httplib runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/yhirose/cpp-httplib/commit/5b397d455d25a391ba346863830c1949627b4d08 · Patch
- gist.github.com/dellalibera/094aece17a86069a7d27f93c8aba2280 · Third Party Advisory
- security.snyk.io/vuln/SNYK-UNMANAGED-YHIROSECPPHTTPLIB-5591194 · Third Party Advisory
- github.com/yhirose/cpp-httplib/releases/tag/v0.12.4
- lists.fedoraproject.org/archives/list/[email protected]/message/2RY
- lists.fedoraproject.org/archives/list/[email protected]/message/JY2
- lists.fedoraproject.org/archives/list/[email protected]/message/NYO
- lists.fedoraproject.org/archives/list/[email protected]/message/U6M
- nvd.nist.gov/vuln/detail/CVE-2023-26130
- cve.org/CVERecord?id=CVE-2023-26130
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.