Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. cpp-httplib
  4. ›
  5. CVE-2023-26130

CVE-2023-26130: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

May 30, 2023 (updated November 9, 2023)

Versions of the package yhirose/cpp-httplib before 0.12.4 is 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.

References

  • gist.github.com/dellalibera/094aece17a86069a7d27f93c8aba2280
  • github.com/yhirose/cpp-httplib/commit/5b397d455d25a391ba346863830c1949627b4d08
  • github.com/yhirose/cpp-httplib/releases/tag/v0.12.4
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JY2E7EIRWQMKH6GY4OZOWWBZBY3Q7CGS/
  • nvd.nist.gov/vuln/detail/CVE-2023-26130
  • security.snyk.io/vuln/SNYK-UNMANAGED-YHIROSECPPHTTPLIB-5591194

Code Behaviors & Features

Detect and mitigate CVE-2023-26130 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.12.4

Fixed versions

  • 0.12.4

Solution

Upgrade to version 0.12.4 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

conan/cpp-httplib/CVE-2023-26130.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:28 +0000.