nixos/jitsi-videobridge: Mitigate CVE-2021-44228 (#150021)

This commit mitigates a remote code execution vulnerability in the log4j
library.
main
Lara 3 years ago committed by GitHub
parent 1b0334540f
commit c2b79874a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      nixos/modules/services/networking/jitsi-videobridge.nix

@ -217,6 +217,8 @@ in
"-Dnet.java.sip.communicator.SC_HOME_DIR_NAME" = "videobridge";
"-Djava.util.logging.config.file" = "/etc/jitsi/videobridge/logging.properties";
"-Dconfig.file" = pkgs.writeText "jvb.conf" (toHOCON jvbConfig);
# Mitigate CVE-2021-44228
"-Dlog4j2.formatMsgNoLookups" = true;
} // (mapAttrs' (k: v: nameValuePair "-D${k}" v) cfg.extraProperties);
in
{

Loading…
Cancel
Save