p PatchFirst

CVE-2026-56762

CVE-2026-56762 · Hono - Missing Cookie Name Validation in setCookie()

Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.

Hono before 4.12.12 does not validate cookie names on the write path in the setCookie(), serialize(), and serializeSigned() functions, allowing invalid characters such as control characters (e.g. \r or \n) when an application passes a user-controlled cookie name. This can produce malformed Set-Cookie header values. In modern runtimes such as Node.js and Cloudflare Workers, such invalid header values are rejected and cause a runtime error before the response is sent, so header injection or response splitting could not be reproduced; the issue primarily affects correctness and robustness, resulting in runtime errors (availability) rather than confirmed header injection.

CVSS 6.9 · Средний · EPSS 0,4% · Есть исправление

Опубликовано
Обновлено

Стек: node

Затронутые продукты и версии

  • hono

    Версии
    • ≥ 0, < 4.12.12: Затронуто (semver)
    • 4.12.12: Не затронуто (semver)

    Обновитесь до 4.12.12

  • hono npm

    Затронутые диапазоны версий
    • SEMVER: < 4.12.12

    Обновитесь до 4.12.12

Первоисточники

Проверьте свой сервер →