-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Upgrade org.apache.logging.log4j:log4j-core and log4j-api libraries #24507
base: master
Are you sure you want to change the base?
Conversation
03105ec
to
d19906d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Dilli-Babu-Godari, I noticed that these libraries are also included with version 2.17.1
in presto-druid
. Is there a specific reason we’re not upgrading them as well? Could you take a look?
d19906d
to
062c0e7
Compare
I have now added the presto-druid as well. Could you please review it again? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Dilli-Babu-Godari Please verify both the dependency by checking the dependency tree, I still see these 2 are coming from some more packages.
0016219
to
a0993dc
Compare
|
In the release note entries, please add a link to a CVE. See Phrasing in the Release Notes Guidelines for an example and formatting. Because there are so many CVEs shown in this one, choose an appropriate CVE - perhaps the most recent one? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Dilli-Babu-Godari thanks for the changes. Can you also confirm the output of the below commands:
./mvnw dependency:tree -Dincludes=org.apache.logging.log4j:log4j-api
./mvnw dependency:tree -Dincludes=org.apache.logging.log4j:log4j-core
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we have moved the dependencies to root pom, we can remove the version in this pom as well for both the dependencies.
presto/presto-elasticsearch/pom.xml
Line 183 in e84e4d2
<version>${dep.log4j.version}</version> |
presto/presto-elasticsearch/pom.xml
Line 176 in e84e4d2
<version>${dep.log4j.version}</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have removed the version tag. Could you please review again ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also confirm the output of the below commands:
./mvnw dependency:tree -Dincludes=org.apache.logging.log4j:log4j-api
./mvnw dependency:tree -Dincludes=org.apache.logging.log4j:log4j-core
@Dilli-Babu-Godari Can you also share these?
…n presto Upgraded org.apache.logging.log4j:log4j-core from 2.17.1 to 2.24.3 Upgraded org.apache.logging.log4j:log4j-api from 2.17.1 to 2.24.3 Fixes almost 25 CVEs.
a0993dc
to
792118c
Compare
Thank you! |
![]() ![]() Build is successful and the modules are having respective upgraded versions of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Dilli-Babu-Godari LGTM, I am approving the PR but I have one minor request. The commit message exceeds the single-line character limit. Please update it to the following::
Upgrade log4j-core and log4j-api dependencies
Upgrade org.apache.logging.log4j:log4j-core from 2.17.1 to 2.24.3
Upgrade org.apache.logging.log4j:log4j-api from 2.17.1 to 2.24.3
Fixes almost 25 CVEs.
Description
Upgraded org.apache.logging.log4j:log4j-core from 2.17.1 to 2.24.3
Upgraded org.apache.logging.log4j:log4j-api from 2.17.1 to 2.24.3
Motivation and Context
Addresses below CVEs
Impact
Test Plan
Contributor checklist
ntributing guide, in particular code style and commit standards.
Release Notes
Please follow release notes guidelines and fill in the release notes below.