{
  "cveId": "CVE-2025-61780",
  "url": "https://patchblox.com/security/cve/CVE-2025-61780",
  "summary": "CVE-2025-61780 is fixed in 3 products on 1 platform, first by ruby-rack 1.6.4-4ubuntu0.2\u002Besm9, released October 10, 2025. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "ruby-rack: Rack is a modular Ruby web server interface",
  "description": "Rack is a modular Ruby web server interface. Prior to versions 2.2.20, 3.1.18, and 3.2.3, a possible information disclosure vulnerability existed in \u0060Rack::Sendfile\u0060 when running behind a proxy that supports \u0060x-sendfile\u0060 headers (such as Nginx). Specially crafted headers could cause \u0060Rack::Sendfile\u0060 to miscommunicate with the proxy and trigger unintended internal requests, potentially bypassing proxy-level access restrictions. When \u0060Rack::Sendfile\u0060 received untrusted \u0060x-sendfile-type\u0060 or \u0060x-accel-mapping\u0060 headers from a client, it would interpret them as proxy configuration directives. This could cause the middleware to send a \u0022redirect\u0022 response to the proxy, prompting it to reissue a new internal request that was not subject to the proxy\u0027s access controls. An attacker could exploit this by setting a crafted \u0060x-sendfile-type: x-accel-redirect\u0060 header, setting a crafted \u0060x-accel-mapping\u0060 header, and requesting a path that qualifies for proxy-based acceleration. Attackers could bypass proxy-enforced restrictions and access internal endpoints intended to be protected (such as administrative pages). The vulnerability did not allow arbitrary file reads but could expose sensitive application routes. This issue only affected systems meeting all of the following conditions: The application used \u0060Rack::Sendfile\u0060 with a proxy that supports \u0060x-accel-redirect\u0060 (e.g., Nginx); the proxy did **not** always set or remove the \u0060x-sendfile-type\u0060 and \u0060x-accel-mapping\u0060 headers; and the application exposed an endpoint that returned a body responding to \u0060.to_path\u0060. Users should upgrade to Rack versions 2.2.20, 3.1.18, or 3.2.3, which require explicit configuration to enable \u0060x-accel-redirect\u0060. Alternatively, configure the proxy to always set or strip the header, or in Rails applications, disable sendfile completely.",
  "published": "2025-10-10T10:15:00Z",
  "severity": "medium",
  "cvss": 5.3,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
  "epss": 0.00553,
  "epssPercentile": 0.46404,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "ruby-rack",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "2.2.20-0\u002Bdeb12u1",
      "fix": "DEBIAN-CVE-2025-61780",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-61780",
      "released": "2025-10-10T17:15:39Z"
    },
    {
      "platform": "linux",
      "product": "ruby-rack",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "3.1.18-1~deb13u1",
      "fix": "DEBIAN-CVE-2025-61780",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-61780",
      "released": "2025-10-10T17:15:39Z"
    },
    {
      "platform": "linux",
      "product": "ruby-rack",
      "release": "Debian 14",
      "fixedVersion": "3.1.18-1",
      "fix": "DEBIAN-CVE-2025-61780",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-61780",
      "released": "2025-10-10T17:15:39Z"
    },
    {
      "platform": "linux",
      "product": "ruby-rack",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.6.4-4ubuntu0.2\u002Besm9",
      "fix": "ruby-rack 1.6.4-4ubuntu0.2\u002Besm9",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-ruby-rack-1.6.4-4ubuntu0.2-esm9",
      "released": "2025-10-10T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "ruby-rack",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.0.7-2ubuntu0.1\u002Besm8",
      "fix": "ruby-rack 2.0.7-2ubuntu0.1\u002Besm8",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-ruby-rack-2.0.7-2ubuntu0.1-esm8",
      "released": "2025-10-10T13:15:00Z"
    },
    {
      "platform": "linux",
      "product": "ruby-rack",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2.1.4-5ubuntu1.2",
      "fix": "ruby-rack 2.1.4-5ubuntu1.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-ruby-rack-2.1.4-5ubuntu1.2",
      "released": "2025-10-10T13:15:00Z"
    },
    {
      "platform": "linux",
      "product": "ruby-rack",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "2.2.7-1ubuntu0.5",
      "fix": "ruby-rack 2.2.7-1ubuntu0.5",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-ruby-rack-2.2.7-1ubuntu0.5",
      "released": "2025-10-10T13:15:00Z"
    },
    {
      "platform": "linux",
      "product": "ruby-rack",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "3.1.16-0.1ubuntu0.1",
      "fix": "ruby-rack 3.1.16-0.1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-ruby-rack-3.1.16-0.1ubuntu0.1",
      "released": "2025-10-10T13:15:00Z"
    },
    {
      "platform": "linux",
      "product": "rubygem-rack",
      "release": "Fedora 43",
      "fixedVersion": "1:3.1.19-1.fc43",
      "fix": "FEDORA-2025-B6E0F437B6",
      "url": "https://patchblox.com/security/fix/linux/fedora-2025-b6e0f437b6",
      "released": "2025-11-04T14:27:56Z"
    },
    {
      "platform": "linux",
      "product": "rubygem-rack",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "2.2.20-150000.3.34.1",
      "fix": "SUSE-SU-2025:4273-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-4273-1",
      "released": "2025-11-27T08:12:25Z"
    },
    {
      "platform": "linux",
      "product": "rubygem-rack",
      "release": "sles 15.6",
      "fixedVersion": "2.2.20-150000.3.34.1",
      "fix": "SUSE-SU-2025:4273-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-4273-1",
      "released": "2025-11-27T08:12:25Z"
    },
    {
      "platform": "linux",
      "product": "rubygem-rack",
      "release": "sles 15.7",
      "fixedVersion": "2.2.20-150000.3.34.1",
      "fix": "SUSE-SU-2025:4273-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-4273-1",
      "released": "2025-11-27T08:12:25Z"
    },
    {
      "platform": "linux",
      "product": "rubygem-rack-doc",
      "release": "Fedora 43",
      "fixedVersion": "1:3.1.19-1.fc43",
      "fix": "FEDORA-2025-B6E0F437B6",
      "url": "https://patchblox.com/security/fix/linux/fedora-2025-b6e0f437b6",
      "released": "2025-11-04T14:27:56Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}