fix(core): Upgrade convict to address CVE-2023-0163 (#5729)
fix(core): upgrade convict to address CVE-2023-0163 also, do not allow passing any cli arguments to config.
This commit is contained in:
committed by
GitHub
parent
33d9784319
commit
564bc03d3f
@@ -24,7 +24,7 @@ if (inE2ETests) {
|
||||
dotenv.config();
|
||||
}
|
||||
|
||||
const config = convict(schema);
|
||||
const config = convict(schema, { args: [] });
|
||||
|
||||
if (inE2ETests) {
|
||||
config.set('enterprise.features.sharing', true);
|
||||
|
||||
Reference in New Issue
Block a user