kanidm/server
Firstyear e51d0dee44 [SECURITY: LOW] Administrator triggered thread crash in oauth2 claim maps #2686 (#2686)
When an admin configured oauth2 custom claims during the creation it
was not enforced that at least one value must be present. This led to
an incorrect logic flaw in str_concat! which didn't handle the 0 case.

This hardens str_concat! to prevent the thread crash by using itertools
for the join instead, and it enforces stricter validation on the valueset
to deny creation of empty claims.

This fix has a low security impact as only an administrator or high
level user can trigger this as a possible denial of service.

Fixes #2680 Fixes #2681
2024-03-26 11:54:47 +10:00
..
core Remove zstd feature 2024-02-28 10:01:17 +10:00
daemon Add tools for remigration and domain level raising (#2481) 2024-02-06 10:01:06 +00:00
lib [SECURITY: LOW] Administrator triggered thread crash in oauth2 claim maps #2686 (#2686) 2024-03-26 11:54:47 +10:00
lib-macros Correct cargo versions 2024-02-07 15:15:23 +10:00
testkit 20240125 2217 client credentials grant (#2456) 2024-02-01 02:00:29 +00:00
testkit-macros CLI integration test beginnings (#2261) 2023-10-30 06:10:54 +00:00
web_ui Release 1.1.0-rc.16 (#2483) 2024-02-07 04:39:02 +00:00
builder.sh 1399 cleanup reorg (#1412) 2023-03-01 13:10:52 +10:00
Dockerfile Add tools for remigration and domain level raising (#2481) 2024-02-06 10:01:06 +00:00