nginx/src
Vadim Zhestikov 1916f26e6c SSL: synced all session ticket keys to the worker process
The per-worker ticket key mirror is allocated with three slots
(ngx_array_push_n(keys, 3)), matching the shared memory
ticket_keys[3] array and the decrypt callback, which scans all
keys->nelts slots by key name.  Key rotation, however, synced
only two slots from shared memory, leaving the third slot's
name, hmac_key, and aes_key uninitialized.

A ticket whose key name matched the uninitialized slot (which
holds unspecified pool memory, all zero in the best case) could
therefore be HMAC-verified and decrypted with uninitialized key
material, allowing a forged session.

Sync all keys->nelts slots, as ngx_ssl_ticket_keys_cleanup()
already assumes.

Reported by PhiNode Labs.
2026-10-01 21:19:27 +04:00
..
core QUIC: support BPF reload and binary upgrade 2026-09-29 21:46:41 +04:00
event SSL: synced all session ticket keys to the worker process 2026-10-01 21:19:27 +04:00
http HTTP/3: kept the skipped frame length separate from data length 2026-10-01 21:19:27 +04:00
mail Rejected zero size in buffer-size directives 2026-09-25 22:27:38 +04:00
misc
os QUIC: support BPF reload and binary upgrade 2026-09-29 21:46:41 +04:00
stream GeoIP: support for the MaxMind DB (MMDB) databases 2026-09-30 20:17:54 +04:00