Skip to content

Conversation

@tsmock
Copy link
Collaborator

@tsmock tsmock commented Dec 16, 2021

Also, move classes using log4j to slf4j.

This should have no effect on runtime logging.

See also

Also, move classes using log4j to slf4j.

Signed-off-by: Taylor Smock <[email protected]>
@tsmock
Copy link
Collaborator Author

tsmock commented Dec 16, 2021

Note: We can use dependency substitution to use the osgeo -norce version instead of excluding osgeo.

Copy link
Collaborator

@Bentleysb Bentleysb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great. Thanks for working to update this. Have you done any test runs with these changes, local or remote?

@atiannicelli
Copy link
Collaborator

atiannicelli commented Dec 20, 2021

log4j 2.16.0 creates another vulnerability (CVE-2021-45105). So we need to upgrade to 2.17.0.

Edit - now we need it updated to 2.17.1

Also update Jacoco, Junit, and SQLite, all of which should have no
source compatibility issues.

Signed-off-by: Taylor Smock <[email protected]>
@tsmock tsmock changed the title Update log4j to 2.16 Update log4j to 2.17.1 Jan 4, 2022
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 4, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

66.7% 66.7% Coverage
0.0% 0.0% Duplication

@tsmock
Copy link
Collaborator Author

tsmock commented Jan 4, 2022

This looks great. Thanks for working to update this. Have you done any test runs with these changes, local or remote?

I have done a local run with some additional dependency updates (./gradlew clean build run).

@atiannicelli
Copy link
Collaborator

I took tsmock's branch and executed on AWS EMR and it looked like it was working correctly.

@Bentleysb Bentleysb requested a review from rheatreena January 4, 2022 19:35
@Bentleysb Bentleysb merged commit 471ba73 into osmlab:dev Jan 4, 2022
@tsmock tsmock deleted the cve-2021-44228 branch January 4, 2022 19:43
@tsmock tsmock restored the cve-2021-44228 branch January 4, 2022 19:43
@tsmock tsmock deleted the cve-2021-44228 branch January 5, 2022 20:38
@tsmock tsmock restored the cve-2021-44228 branch January 12, 2022 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants