UBUNTU-CVE-2025-66577

Source
https://ubuntu.com/security/CVE-2025-66577
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66577.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-66577
Upstream
Published
2025-12-05T19:15:00Z
Modified
2026-01-20T18:42:29.495129Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.27.0, a vulnerability allows attacker-controlled HTTP headers to influence server-visible metadata, logging, and authorization decisions. An attacker can supply X-Forwarded-For or X-Real-IP headers which get accepted unconditionally by getclientip() in docker/main.cc, causing access and error logs (nginxaccesslogger / nginxerrorlogger) to record spoofed client IPs (log poisoning / audit evasion). This vulnerability is fixed in 0.27.0.

References

Affected packages

Ubuntu:Pro:22.04:LTS / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:deb/ubuntu/cpp-httplib@0.10.3+ds-1ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.9.9+ds-1
0.9.10+ds-1
0.10.1+ds-1
0.10.2+ds-1
0.10.3+ds-1
0.10.3+ds-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.10.3+ds-1ubuntu0.1~esm1",
            "binary_name": "libcpp-httplib-dev"
        },
        {
            "binary_version": "0.10.3+ds-1ubuntu0.1~esm1",
            "binary_name": "libcpp-httplib0"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66577.json"

Ubuntu:Pro:24.04:LTS / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:deb/ubuntu/cpp-httplib@0.14.3+ds-1.1ubuntu0.1~esm1?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.13.1+ds-1ubuntu1
0.14.3+ds-1
0.14.3+ds-1.1
0.14.3+ds-1.1build1
0.14.3+ds-1.1build2
0.14.3+ds-1.1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.14.3+ds-1.1ubuntu0.1~esm1",
            "binary_name": "libcpp-httplib-dev"
        },
        {
            "binary_version": "0.14.3+ds-1.1ubuntu0.1~esm1",
            "binary_name": "libcpp-httplib0.14t64"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66577.json"

Ubuntu:25.10 / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:deb/ubuntu/cpp-httplib@0.18.7-1ubuntu0.25.10.1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.18.7-1
0.18.7-1ubuntu0.25.10.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.18.7-1ubuntu0.25.10.1",
            "binary_name": "libcpp-httplib-dev"
        },
        {
            "binary_version": "0.18.7-1ubuntu0.25.10.1",
            "binary_name": "libcpp-httplib0.18"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66577.json"