Skip to content
Heist/ feed
Back to feed
HighFix available

rails — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-22792

A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1. Specially crafted cookies, in combination with a specially crafted X_FORWARDED_HOST header can cause the regular expression engine to enter a state of catastrophic backtracking. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability All users running an affected release should either upgrade or use one of the workarounds immediately.

Products
rails
Affected versions
Not specified
Fixed versions
2:6.1.7.3+dfsg-1
CVEs
CVE-2023-22792
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:54 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-22792

core-osv · Original source

Published 9 Feb 2023, 20:15 UTC

A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1. Specially crafted cookies, in combination with a specially crafted X_FORWARDED_HOST header can cause the regular expression engine to enter a state of catastrophic backtracking. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability All users running an affected release should either upgrade or use one of the workarounds immediately.

osv:DEBIAN-CVE-2023-22792

rails

Fixed versions: 2:6.1.7.3+dfsg-1

rails

Fixed versions: 2:6.1.7.3+dfsg-1

rails

Fixed versions: 2:6.1.7.3+dfsg-1

Complete source record
{
  "id": "877946ae9f864068c10ce010f8bdf7cac7f6e63758ec73c25b2d5219d27c3ed4",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-22792",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-22792",
    "summary": "A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1. Specially crafted cookies, in combination with a specially crafted X_FORWARDED_HOST header can cause the regular expression engine to enter a state of catastrophic backtracking. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability All users running an affected release should either upgrade or use one of the workarounds immediately.",
    "evidence": "osv:DEBIAN-CVE-2023-22792",
    "products": [
      {
        "name": {
          "value": "rails",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:6.1.7.3+dfsg-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "rails",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:6.1.7.3+dfsg-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "rails",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:6.1.7.3+dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2023-22792",
      "aliases": [
        "DEBIAN-CVE-2023-22792"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:6.1.7.3+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "rails",
            "purl": "pkg:deb/debian/rails?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-22792.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:6.1.7.3+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "rails",
            "purl": "pkg:deb/debian/rails?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-22792.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:6.1.7.3+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "rails",
            "purl": "pkg:deb/debian/rails?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-22792.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-25T09:47:30.825193193Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-22792"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-22792"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-22792",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 445257,
  "published_at": "2023-02-09T20:15:11.29+00:00"
}