CVE-2025-22871: Spiral/roadrunner RoadRunner Is At Risk Of Vulnerability

CRITICAL
Advisory Identifier: GHSA-g9pc-8g42-g6vq
CVSS 9.1
CWE-1395 CWE-444
Published
Advisory Summary

CVE-2025-22871 is a CRITICAL (CVSS 9.1) roadrunner is at risk of vulnerability (CWE-1395: Dependency on Vulnerable Third-Party Component) affecting Spiral/roadrunner libraries in the Packagist ecosystem. The issue involves roadrunner is at risk of http request/response smuggling through vulnerable dependency. Remediation is available by upgrading affected packages to version 2025.1.0.

CVE-2025-22871 at a Glance

CVE Identifier CVE-2025-22871
GHSA Identifier GHSA-g9pc-8g42-g6vq
Severity CRITICAL
CVSS v3.1 Base Score 9.1
CWE Classification CWE-1395: Dependency on Vulnerable Third-Party Component
Affected Product Spiral/roadrunner
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 9.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2025-22871

To remediate this vulnerability, upgrade all affected Spiral/roadrunner dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

spiral/roadrunner fixed: 2025.1.0
Upgrade spiral/roadrunner to 2025.1.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for spiral/roadrunner

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-22871, inspect your project dependencies for Spiral/roadrunner:

inspect dependencies for spiral/roadrunner

Analyze the terminal output to locate any version of Spiral/roadrunner in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2025.1.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1395: Dependency on Vulnerable Third-Party Component, where the product has a dependency on a third-party component that contains one or more known vulnerabilities. In Spiral/roadrunner, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The net/http package dependency used by RoadRunner improperly accepts a bare LF as a line terminator in chunked data chunk-size lines. This can permit request smuggling if a net/http server is used in conjunction with a server that incorrectly accepts a bare LF as part of a chunk-ext.

CVE-2025-22871 Affected Spiral/roadrunner Versions

1 component(s)
Fixed Versions:
2025.1.0
Product / Package Ecosystem Affected Versions Fixed Version
spiral/roadrunner
Packagist
< 2025.1.0
2025.1.0

References

Frequently Asked Questions

What is CVE-2025-22871?
CVE-2025-22871 is a security vulnerability in Spiral/roadrunner involving RoadRunner is at risk of HTTP Request/Response Smuggling through vulnerable dependency under CWE-1395: Dependency on Vulnerable Third-Party Component.
Which Spiral/roadrunner versions are affected?
Affected versions include releases prior to 2025.1.0 across affected packages: spiral/roadrunner.
What version fixes CVE-2025-22871?
Upgrading to 2025.1.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is spiral/roadrunner affected?
Yes, spiral/roadrunner is affected in releases prior to 2025.1.0. Upgrade your dependency to 2025.1.0 or later.
What is the CVSS score of CVE-2025-22871?
CVE-2025-22871 has a CVSS v3.1 base score of 9.1 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2025-22871?
CVE-2025-22871 is classified under CWE-1395: Dependency on Vulnerable Third-Party Component (The product has a dependency on a third-party component that contains one or more known vulnerabilities.).
How can I check Packagist dependencies for CVE-2025-22871?
Run the dependency tree command: 'inspect dependencies for spiral/roadrunner'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g9pc-8g42-g6vq",
  "modified" : "2026-05-13T16:22:16Z",
  "published" : "2025-04-08T21:31:40Z",
  "aliases" : [ "CVE-2025-22871" ],
  "summary" : "RoadRunner is at risk of HTTP Request/Response Smuggling through vulnerable dependency",
  "details" : "The net/http package dependency used by RoadRunner improperly accepts a bare LF as a line terminator in chunked data chunk-size lines. This can permit request smuggling if a net/http server is used in conjunction with a server that incorrectly accepts a bare LF as part of a chunk-ext.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "spiral/roadrunner"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2025.1.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-22871"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/roadrunner-server/roadrunner/issues/2166"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/roadrunner-server/roadrunner/commit/f269279ee87d0b88127741cad1042389af7605fa"
  }, {
    "type" : "WEB",
    "url" : "https://cert-portal.siemens.com/productcert/html/ssa-783943.html"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/roadrunner-server/roadrunner"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/roadrunner-server/roadrunner/releases/tag/v2025.1.0"
  }, {
    "type" : "WEB",
    "url" : "https://go.dev/cl/652998"
  }, {
    "type" : "WEB",
    "url" : "https://go.dev/issue/71988"
  }, {
    "type" : "WEB",
    "url" : "https://groups.google.com/g/golang-announce/c/Y2uBTVKjBQk"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2025-3563"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2025/04/04/4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1395", "CWE-444" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-24T20:57:40Z",
    "nvd_published_at" : "2025-04-08T20:15:20Z"
  }
}