Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WFCORE-6644] Upgrade log4j2 from 2.19.0 to 2.22.0 #5800

Merged
merged 2 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
-->
<version.org.apache.httpcomponents.httpclient>4.5.14</version.org.apache.httpcomponents.httpclient>
<version.org.apache.httpcomponents.httpcore>4.4.16</version.org.apache.httpcomponents.httpcore>
<version.org.apache.logging.log4j>2.19.0</version.org.apache.logging.log4j>
<version.org.apache.logging.log4j>2.22.0</version.org.apache.logging.log4j>
<version.org.apache.maven.provider>3.5.4</version.org.apache.maven.provider>
<version.org.apache.maven.resolver>1.1.1</version.org.apache.maven.resolver>
<version.org.apache.sshd>2.11.0</version.org.apache.sshd>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ protected void processDeployment(final JavaArchive deployment) {
final Permission[] permissions = {
// The getClassLoader permissions is required for the org.apache.logging.log4j.util.ProviderUtil.
new RuntimePermission("getClassLoader"),
// The the org.apache.logging.log4j.util.ProviderUtil requires this for the Class.getDeclaredConstructor()
new RuntimePermission("accessDeclaredMembers"),
// The FilePermissions is also for the org.apache.logging.log4j.util.ProviderUtil as it needs to read the JAR
// for the service loader.
new FilePermission(resolveFilePermissions(), "read"),
Expand Down