fix(security): refuse compressed request bodies
express.json decompressed Content-Encoding br/gzip/deflate bodies before the PIN check, running Node's Brotli decoder on input from anyone who can reach the port (CVE-2026-111497). The app never sends compressed bodies, so they now get 415.
This commit is contained in:
1 parent
4def444202
commit
3f7f62bfa8
3 files changed
+35
-1
No files matched your search
@@ -6,6 +6,10 @@ The application version is maintained in `package.json` and displayed in the adm
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Security
|
||||
|
||||
- The server no longer decompresses request bodies (`Content-Encoding: br`, `gzip`, `deflate` get 415). The app never sends compressed bodies, but Express decompressed them for anyone who could reach the port, before the admin PIN check and also on `/public-training`. That ran Node's Brotli decoder on untrusted input (CVE-2026-111497). Upgrading Node.js to 22.23.4 / 24.22.1 / 26.12.1 or later is still needed: the server's own `fetch()` calls (voice downloads, public IP lookup) decompress Brotli responses.
|
||||
|
||||
### Added
|
||||
|
||||
- **Overlay → a driver's training stats in one click.** In RaceCore's own Overlay a click on a driver opens Training stats for that driver and class; the stand-alone overlay window stays up and opens them in a new tab. The public overlay has no links, since the driver's mobile profile link is personal and can also write.
|
||||
|
||||
Reference in new issue
Block a user