From a52790cba097d20c246645827397ffc19fc2e7d9 Mon Sep 17 00:00:00 2001 From: AkshayK Date: Fri, 11 Jun 2021 15:04:03 -0400 Subject: [PATCH] win,msi: set install directory permission Explicitly set permission for Windows install directory. CVE-ID: CVE-2021-22921 Refs: https://hackerone.com/reports/1211160 PR-URL: https://github.com/nodejs-private/node-private/pull/269 Reviewed-By: Matteo Collina Reviewed-By: Richard Lau Reviewed-By: Rich Trott --- tools/msvs/msi/product.wxs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/tools/msvs/msi/product.wxs b/tools/msvs/msi/product.wxs index f008ea7f9adff7..ce53647a135502 100755 --- a/tools/msvs/msi/product.wxs +++ b/tools/msvs/msi/product.wxs @@ -46,6 +46,13 @@ + + + + + + + + + @@ -169,6 +178,20 @@ + + + + + + + + + + + +