Browse Source
Merge pull request #5490 from rspamd/vstakhov-ucl-fix
Merge pull request #5490 from rspamd/vstakhov-ucl-fix
One of the major issues is that we should use safe parser flags for all inputs aside of the real configuration which we should really trust. It means that we need to disable macros, file variables and other UCL features when it is used to parse any potentially unsafe content. I do not treat it as a security vulnerability so far, as Rspamd operates with merely trusted content by HTTP by default, however, it is good to fix to avoid any potential future mususes or even exploits possibilities.pull/5496/head
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
19 changed files with 100 additions and 38 deletions
-
12contrib/libucl/lua_ucl.c
-
20contrib/libucl/ucl.h
-
10contrib/libucl/ucl_parser.c
-
32contrib/libucl/ucl_util.c
-
4src/client/rspamdclient.c
-
4src/controller.c
-
10src/fuzzy_storage.c
-
6src/libmime/lang_detection.c
-
2src/libserver/cfg_rcl.cxx
-
2src/libserver/cfg_utils.cxx
-
4src/libserver/dynamic_cfg.c
-
8src/libserver/roll_history.c
-
4src/libserver/rspamd_control.c
-
2src/libserver/symcache/symcache_impl.cxx
-
2src/libserver/worker_util.c
-
2src/lua/lua_cryptobox.c
-
8src/rspamadm/control.c
-
4src/rspamadm/signtool.c
-
2src/rspamd_proxy.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue