OPENSUSE-SU-2026:20056-1

Vulnerability from csaf_opensuse - Published: 2026-01-15 22:11 - Updated: 2026-01-15 22:11
Summary
Security update for cpp-httplib

Notes

Title of the patch
Security update for cpp-httplib
Description of the patch
This update for cpp-httplib fixes the following issues: - CVE-2025-66570: IP spoofing, log poisoning, and authorization bypass via header shadowing due to acceptance and parsing of client-controlled injected HTTP headers in incoming requests (bsc#1254734). - CVE-2025-66577: access and error log poisoning with spoofed client IPs due to unconditional acceptance of client-controlled `X-Forwarded-For` and `X-Real-IP` headers (bsc#1254735).
Patchnames
openSUSE-Leap-16.0-150
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://www.suse.com/support/security/rating/",
      "text": "critical"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright 2024 SUSE LLC. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "Security update for cpp-httplib",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "This update for cpp-httplib fixes the following issues:\n\n- CVE-2025-66570: IP spoofing, log poisoning, and authorization bypass via header shadowing due to acceptance and\n  parsing of client-controlled injected HTTP headers in incoming requests (bsc#1254734).\n- CVE-2025-66577: access and error log poisoning with spoofed client IPs due to unconditional acceptance of\n  client-controlled `X-Forwarded-For` and `X-Real-IP` headers (bsc#1254735).\n",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "openSUSE-Leap-16.0-150",
        "title": "Patchnames"
      },
      {
        "category": "legal_disclaimer",
        "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
        "title": "Terms of use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://www.suse.com/support/security/contact/",
      "name": "SUSE Product Security Team",
      "namespace": "https://www.suse.com/"
    },
    "references": [
      {
        "category": "external",
        "summary": "SUSE ratings",
        "url": "https://www.suse.com/support/security/rating/"
      },
      {
        "category": "self",
        "summary": "URL of this CSAF notice",
        "url": "https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_20056-1.json"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1254734",
        "url": "https://bugzilla.suse.com/1254734"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1254735",
        "url": "https://bugzilla.suse.com/1254735"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2025-66570 page",
        "url": "https://www.suse.com/security/cve/CVE-2025-66570/"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2025-66577 page",
        "url": "https://www.suse.com/security/cve/CVE-2025-66577/"
      }
    ],
    "title": "Security update for cpp-httplib",
    "tracking": {
      "current_release_date": "2026-01-15T22:11:25Z",
      "generator": {
        "date": "2026-01-15T22:11:25Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "openSUSE-SU-2026:20056-1",
      "initial_release_date": "2026-01-15T22:11:25Z",
      "revision_history": [
        {
          "date": "2026-01-15T22:11:25Z",
          "number": "1",
          "summary": "Current version"
        }
      ],
      "status": "final",
      "version": "1"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "cpp-httplib-devel-0.22.0-160000.3.1.aarch64",
                "product": {
                  "name": "cpp-httplib-devel-0.22.0-160000.3.1.aarch64",
                  "product_id": "cpp-httplib-devel-0.22.0-160000.3.1.aarch64"
                }
              },
              {
                "category": "product_version",
                "name": "libcpp-httplib0_22-0.22.0-160000.3.1.aarch64",
                "product": {
                  "name": "libcpp-httplib0_22-0.22.0-160000.3.1.aarch64",
                  "product_id": "libcpp-httplib0_22-0.22.0-160000.3.1.aarch64"
                }
              }
            ],
            "category": "architecture",
            "name": "aarch64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "cpp-httplib-devel-0.22.0-160000.3.1.ppc64le",
                "product": {
                  "name": "cpp-httplib-devel-0.22.0-160000.3.1.ppc64le",
                  "product_id": "cpp-httplib-devel-0.22.0-160000.3.1.ppc64le"
                }
              },
              {
                "category": "product_version",
                "name": "libcpp-httplib0_22-0.22.0-160000.3.1.ppc64le",
                "product": {
                  "name": "libcpp-httplib0_22-0.22.0-160000.3.1.ppc64le",
                  "product_id": "libcpp-httplib0_22-0.22.0-160000.3.1.ppc64le"
                }
              }
            ],
            "category": "architecture",
            "name": "ppc64le"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "cpp-httplib-devel-0.22.0-160000.3.1.s390x",
                "product": {
                  "name": "cpp-httplib-devel-0.22.0-160000.3.1.s390x",
                  "product_id": "cpp-httplib-devel-0.22.0-160000.3.1.s390x"
                }
              },
              {
                "category": "product_version",
                "name": "libcpp-httplib0_22-0.22.0-160000.3.1.s390x",
                "product": {
                  "name": "libcpp-httplib0_22-0.22.0-160000.3.1.s390x",
                  "product_id": "libcpp-httplib0_22-0.22.0-160000.3.1.s390x"
                }
              }
            ],
            "category": "architecture",
            "name": "s390x"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "cpp-httplib-devel-0.22.0-160000.3.1.x86_64",
                "product": {
                  "name": "cpp-httplib-devel-0.22.0-160000.3.1.x86_64",
                  "product_id": "cpp-httplib-devel-0.22.0-160000.3.1.x86_64"
                }
              },
              {
                "category": "product_version",
                "name": "libcpp-httplib0_22-0.22.0-160000.3.1.x86_64",
                "product": {
                  "name": "libcpp-httplib0_22-0.22.0-160000.3.1.x86_64",
                  "product_id": "libcpp-httplib0_22-0.22.0-160000.3.1.x86_64"
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "openSUSE Leap 16.0",
                "product": {
                  "name": "openSUSE Leap 16.0",
                  "product_id": "openSUSE Leap 16.0"
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "cpp-httplib-devel-0.22.0-160000.3.1.aarch64 as component of openSUSE Leap 16.0",
          "product_id": "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.aarch64"
        },
        "product_reference": "cpp-httplib-devel-0.22.0-160000.3.1.aarch64",
        "relates_to_product_reference": "openSUSE Leap 16.0"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "cpp-httplib-devel-0.22.0-160000.3.1.ppc64le as component of openSUSE Leap 16.0",
          "product_id": "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.ppc64le"
        },
        "product_reference": "cpp-httplib-devel-0.22.0-160000.3.1.ppc64le",
        "relates_to_product_reference": "openSUSE Leap 16.0"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "cpp-httplib-devel-0.22.0-160000.3.1.s390x as component of openSUSE Leap 16.0",
          "product_id": "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.s390x"
        },
        "product_reference": "cpp-httplib-devel-0.22.0-160000.3.1.s390x",
        "relates_to_product_reference": "openSUSE Leap 16.0"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "cpp-httplib-devel-0.22.0-160000.3.1.x86_64 as component of openSUSE Leap 16.0",
          "product_id": "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.x86_64"
        },
        "product_reference": "cpp-httplib-devel-0.22.0-160000.3.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 16.0"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libcpp-httplib0_22-0.22.0-160000.3.1.aarch64 as component of openSUSE Leap 16.0",
          "product_id": "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.aarch64"
        },
        "product_reference": "libcpp-httplib0_22-0.22.0-160000.3.1.aarch64",
        "relates_to_product_reference": "openSUSE Leap 16.0"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libcpp-httplib0_22-0.22.0-160000.3.1.ppc64le as component of openSUSE Leap 16.0",
          "product_id": "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.ppc64le"
        },
        "product_reference": "libcpp-httplib0_22-0.22.0-160000.3.1.ppc64le",
        "relates_to_product_reference": "openSUSE Leap 16.0"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libcpp-httplib0_22-0.22.0-160000.3.1.s390x as component of openSUSE Leap 16.0",
          "product_id": "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.s390x"
        },
        "product_reference": "libcpp-httplib0_22-0.22.0-160000.3.1.s390x",
        "relates_to_product_reference": "openSUSE Leap 16.0"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libcpp-httplib0_22-0.22.0-160000.3.1.x86_64 as component of openSUSE Leap 16.0",
          "product_id": "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.x86_64"
        },
        "product_reference": "libcpp-httplib0_22-0.22.0-160000.3.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 16.0"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2025-66570",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2025-66570"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "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 inject headers named REMOTE_ADDR, REMOTE_PORT, LOCAL_ADDR, LOCAL_PORT that are parsed into the request header multimap via read_headers() in httplib.h (headers.emplace), then the server later appends its own internal metadata using the same header names in Server::process_request without erasing duplicates. Because Request::get_header_value returns the first entry for a header key (id == 0) and the client-supplied headers are parsed before server-inserted headers, downstream code that uses these header names may inadvertently use attacker-controlled values. Affected files/locations: cpp-httplib/httplib.h (read_headers, Server::process_request, Request::get_header_value, get_header_value_u64) and cpp-httplib/docker/main.cc (get_client_ip, nginx_access_logger, nginx_error_logger). Attack surface: attacker-controlled HTTP headers in incoming requests flow into the Request.headers multimap and into logging code that reads forwarded headers, enabling IP spoofing, log poisoning, and authorization bypass via header shadowing. This vulnerability is fixed in 0.27.0.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.aarch64",
          "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.ppc64le",
          "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.s390x",
          "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.x86_64",
          "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.aarch64",
          "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.ppc64le",
          "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.s390x",
          "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.x86_64"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2025-66570",
          "url": "https://www.suse.com/security/cve/CVE-2025-66570"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1254734 for CVE-2025-66570",
          "url": "https://bugzilla.suse.com/1254734"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.aarch64",
            "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.ppc64le",
            "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.s390x",
            "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.x86_64",
            "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.aarch64",
            "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.ppc64le",
            "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.s390x",
            "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 10,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N",
            "version": "3.1"
          },
          "products": [
            "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.aarch64",
            "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.ppc64le",
            "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.s390x",
            "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.x86_64",
            "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.aarch64",
            "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.ppc64le",
            "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.s390x",
            "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2026-01-15T22:11:25Z",
          "details": "critical"
        }
      ],
      "title": "CVE-2025-66570"
    },
    {
      "cve": "CVE-2025-66577",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2025-66577"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "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 get_client_ip() in docker/main.cc, causing access and error logs (nginx_access_logger / nginx_error_logger) to record spoofed client IPs (log poisoning / audit evasion). This vulnerability is fixed in 0.27.0.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.aarch64",
          "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.ppc64le",
          "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.s390x",
          "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.x86_64",
          "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.aarch64",
          "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.ppc64le",
          "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.s390x",
          "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.x86_64"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2025-66577",
          "url": "https://www.suse.com/security/cve/CVE-2025-66577"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1254735 for CVE-2025-66577",
          "url": "https://bugzilla.suse.com/1254735"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.aarch64",
            "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.ppc64le",
            "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.s390x",
            "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.x86_64",
            "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.aarch64",
            "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.ppc64le",
            "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.s390x",
            "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
            "version": "3.1"
          },
          "products": [
            "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.aarch64",
            "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.ppc64le",
            "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.s390x",
            "openSUSE Leap 16.0:cpp-httplib-devel-0.22.0-160000.3.1.x86_64",
            "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.aarch64",
            "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.ppc64le",
            "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.s390x",
            "openSUSE Leap 16.0:libcpp-httplib0_22-0.22.0-160000.3.1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2026-01-15T22:11:25Z",
          "details": "moderate"
        }
      ],
      "title": "CVE-2025-66577"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…