Skip to content
Heist/ feed
Back to feed
HighFix available

lighttpd — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-37797

In lighttpd 1.4.65, mod_wstunnel does not initialize a handler function pointer if an invalid HTTP request (websocket handshake) is received. It leads to null pointer dereference which crashes the server. It could be used by an external attacker to cause denial of service condition.

Products
lighttpd
Affected versions
Not specified
Fixed versions
1.4.66-1
CVEs
CVE-2022-37797
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 15:31 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-37797

core-osv · Original source

Published 12 Sept 2022, 15:15 UTC

In lighttpd 1.4.65, mod_wstunnel does not initialize a handler function pointer if an invalid HTTP request (websocket handshake) is received. It leads to null pointer dereference which crashes the server. It could be used by an external attacker to cause denial of service condition.

osv:DEBIAN-CVE-2022-37797

lighttpd

Fixed versions: 1.4.66-1

lighttpd

Fixed versions: 1.4.66-1

lighttpd

Fixed versions: 1.4.66-1

Complete source record
{
  "id": "e95a35c7fe21ad73ac1dec324f7709bc881875eb81b02abe7ba2694898c6d12a",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-37797",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-37797",
    "summary": "In lighttpd 1.4.65, mod_wstunnel does not initialize a handler function pointer if an invalid HTTP request (websocket handshake) is received. It leads to null pointer dereference which crashes the server. It could be used by an external attacker to cause denial of service condition.",
    "evidence": "osv:DEBIAN-CVE-2022-37797",
    "products": [
      {
        "name": {
          "value": "lighttpd",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.4.66-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "lighttpd",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.4.66-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "lighttpd",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.4.66-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2022-37797",
      "aliases": [
        "DEBIAN-CVE-2022-37797"
      ],
      "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": "1.4.66-1"
                }
              ]
            }
          ],
          "package": {
            "name": "lighttpd",
            "purl": "pkg:deb/debian/lighttpd?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-37797.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.4.66-1"
                }
              ]
            }
          ],
          "package": {
            "name": "lighttpd",
            "purl": "pkg:deb/debian/lighttpd?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-37797.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.4.66-1"
                }
              ]
            }
          ],
          "package": {
            "name": "lighttpd",
            "purl": "pkg:deb/debian/lighttpd?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-37797.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:03:04.964882815Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-37797"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-37797"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-37797",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 325078,
  "published_at": "2022-09-12T15:15:08.17+00:00"
}