Lauri Ojansivu
c2905e17ce
Stop a custom-field template regex from stopping the server (ReDoS).
...
The ${"regex":...} token of a string-template custom field runs a pattern a
board member writes against a value another member writes. Rule e-mails format
card details on the server, so a pattern like (a+)+$ on 'aaaa...!' stopped the
one event loop for every user. The server now runs the regex in its own V8
context under a 50 ms limit, which V8 enforces inside backtracking, and pattern
and value are capped in length everywhere (the browser too, so one member's
format cannot hang the others'). A stopped regex leaves the token visible. The
negative test fails on any server call of the formatter without the bounded
runner.
Thanks to xet7 !
2026-10-02 11:21:50 +03:00
..
2026-09-23 19:10:24 +03:00
2026-10-02 11:21:50 +03:00
2026-10-02 10:31:23 +03:00
2026-07-24 16:18:24 +03:00
2026-10-02 11:19:19 +03:00
2026-10-02 10:45:11 +03:00
2026-10-02 11:16:50 +03:00
2026-10-02 11:19:19 +03:00
2026-10-02 11:20:58 +03:00
2026-09-28 17:48:00 +03:00
2026-09-28 21:46:56 +03:00
2026-07-28 14:51:36 +03:00
2026-07-28 17:59:17 +03:00
2026-07-30 15:58:39 +03:00
2026-07-28 12:13:03 +03:00
2026-07-22 09:21:21 +03:00
2026-10-02 11:12:03 +03:00
2026-10-02 10:31:23 +03:00
2026-09-30 01:16:12 +03:00
2026-09-26 01:27:36 +03:00
2026-09-28 21:46:56 +03:00
2026-10-02 11:16:50 +03:00
2026-08-14 13:49:59 +03:00
2026-04-06 02:36:45 +03:00
2026-06-06 02:53:58 +03:00
2026-09-11 21:17:33 +03:00
2026-10-02 11:14:05 +03:00
2026-09-29 16:40:48 +03:00
2026-07-13 09:16:32 +03:00
2026-09-11 21:17:33 +03:00
2020-02-13 14:58:19 +02:00
2026-09-10 22:11:01 +03:00
2026-07-20 13:17:28 +03:00
2026-09-10 20:20:35 +03:00
2026-03-22 17:17:48 +02:00
2026-08-16 14:57:18 +03:00
2026-09-29 16:28:44 +03:00
2026-09-26 01:27:36 +03:00
2026-03-21 11:32:56 +02:00
2026-08-17 03:05:41 +03:00
2026-10-02 10:39:40 +03:00
2026-04-03 20:16:32 +03:00
2026-09-10 19:59:02 +03:00
2026-09-10 23:34:20 +03:00
2026-06-19 11:37:45 +03:00
2026-10-02 09:46:00 +03:00
2026-08-16 16:17:13 +03:00
2026-08-04 12:09:37 +03:00
2026-04-16 00:50:58 +03:00
2019-07-18 04:27:03 +03:00
2023-03-26 12:41:44 +03:00
2026-07-30 15:57:58 +03:00
2026-09-25 23:57:03 +03:00
2026-10-02 10:46:06 +03:00
2026-08-29 06:01:39 +03:00
2026-07-31 01:39:20 +03:00
2026-09-05 23:51:02 +03:00
2026-09-29 14:34:18 +03:00
2026-10-02 11:13:18 +03:00
2026-09-29 13:57:51 +03:00
2026-09-29 14:34:18 +03:00
2026-09-30 10:20:20 +03:00
2026-09-27 22:55:36 +03:00
2026-06-19 11:37:44 +03:00
2026-09-16 02:26:25 +03:00
2021-06-14 15:11:21 +02:00
2026-07-17 03:07:59 +03:00
2026-09-07 17:03:59 +03:00
2026-10-02 10:20:24 +03:00
2026-09-10 20:41:40 +03:00