Skip to content

Commit

Permalink
Revert CVE-2021-44228 quick fix
Browse files Browse the repository at this point in the history
Reverts openhab#1343 because Karaf 4.3.4 uses Pax Logging 2.0.11 which is not vulnerable.

Signed-off-by: Wouter Born <[email protected]>
  • Loading branch information
wborn committed Dec 15, 2021
1 parent afb38de commit 3cec30e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions distributions/openhab/src/main/resources/bin/setenv
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ export JAVA_OPTS="${JAVA_OPTS}
-Dorg.apache.cxf.osgi.http.transport.disable=true
-Dorg.ops4j.pax.web.listening.addresses=${HTTP_ADDRESS}
-Dorg.osgi.service.http.port=${HTTP_PORT}
-Dorg.osgi.service.http.port.secure=${HTTPS_PORT}
-Dlog4j2.formatMsgNoLookups=true"
-Dorg.osgi.service.http.port.secure=${HTTPS_PORT}"

#
# set JVM options
Expand Down
3 changes: 1 addition & 2 deletions distributions/openhab/src/main/resources/bin/setenv.bat
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ set JAVA_OPTS=%JAVA_OPTS% ^
-Dorg.apache.cxf.osgi.http.transport.disable=true ^
-Dorg.ops4j.pax.web.listening.addresses=%HTTP_ADDRESS% ^
-Dorg.osgi.service.http.port=%HTTP_PORT% ^
-Dorg.osgi.service.http.port.secure=%HTTPS_PORT% ^
-Dlog4j2.formatMsgNoLookups=true
-Dorg.osgi.service.http.port.secure=%HTTPS_PORT%

:: set jvm options
set EXTRA_JAVA_OPTS=-XX:+UseG1GC ^
Expand Down

0 comments on commit 3cec30e

Please sign in to comment.