Sitelet https://github.com/honojs/node-server/releases
Skip to content

Releases: honojs/node-server

v2.1.3

Choose a tag to compare

@yusukebe yusukebe released this 29 Sep 06:18

Security fixes

serveStatic decodes the request path a second time, leading to bypass of middleware on static paths

Affects: @hono/node-server/serve-static. Fixes serveStatic decoding an already-decoded path, where a crafted request could be routed as one path and served as another, skipping middleware mounted on a static prefix. GHSA-rmxm-3fg6-px4f

serveStatic now rejects request paths that still contain % after decoding. To serve files whose names contain a literal %, set allowPercentInPath: true.

The same fix ships in hono v4.13.11.

v2.1.2

Choose a tag to compare

@yusukebe yusukebe released this 29 Sep 04:05

What's Changed

Full Changelog: v2.1.1...v2.1.2

v2.1.1

Choose a tag to compare

@yusukebe yusukebe released this 14 Aug 01:14

What's Changed

Full Changelog: v2.1.0...v2.1.1

v2.1.0

Choose a tag to compare

@yusukebe yusukebe released this 04 Aug 03:16

What's Changed

New Contributors

Full Changelog: v2.0.12...v2.1.0

v1.19.17

Choose a tag to compare

@yusukebe yusukebe released this 27 Jul 03:07
1.19.17

v2.0.12

Choose a tag to compare

@yusukebe yusukebe released this 26 Jul 05:02

What's Changed

Full Changelog: v2.0.11...v2.0.12

v2.0.11

Choose a tag to compare

@yusukebe yusukebe released this 21 Jul 01:58

What's Changed

Full Changelog: v2.0.10...v2.0.11

v2.0.10

Choose a tag to compare

@yusukebe yusukebe released this 15 Jul 23:20

Security fixes

This release includes a fix for the following security issue:

Unauthenticated memory-leak DoS via aborted WebSocket handshake

Affects: upgradeWebSocket. A WebSocket upgrade request with a missing or malformed Sec-WebSocket-Key header leaked the request's IncomingMessage and left a promise pending, even though no connection was established. Since the route is reachable pre-handshake without authentication, an attacker could flood it to gradually exhaust memory. GHSA-9mqv-5hh9-4cgg


Users of upgradeWebSocket are encouraged to upgrade to this version.

v2.0.9

Choose a tag to compare

@yusukebe yusukebe released this 14 Jul 23:05

What's Changed

  • fix(websocket): polyfill missing ErrorEvent global by @otnc in #371
  • fix(serve-static): correct Range header parsing edge cases by @otnc in #372
  • fix: recover complete request bodies after client disconnect by @usualoma in #375

New Contributors

  • @otnc made their first contribution in #371

Full Changelog: v2.0.8...v2.0.9

v2.0.8

Choose a tag to compare

@yusukebe yusukebe released this 02 Jul 12:57

What's Changed

  • ci(release): add --no-git-checks option for pnpm stage publish by @yusukebe in #369

Full Changelog: v2.0.7...v2.0.8