-
Notifications
You must be signed in to change notification settings - Fork 283
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 logback-classic to address CVE CVE-2023-6378 #3801
Conversation
Signed-off-by: Derek Ho <[email protected]>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3801 +/- ##
==========================================
+ Coverage 65.26% 65.28% +0.02%
==========================================
Files 297 298 +1
Lines 21132 21159 +27
Branches 3452 3455 +3
==========================================
+ Hits 13791 13813 +22
- Misses 5644 5649 +5
Partials 1697 1697
|
@@ -497,6 +497,7 @@ configurations { | |||
force "org.apache.httpcomponents:httpcore:4.4.16" | |||
force "com.google.errorprone:error_prone_annotations:2.23.0" | |||
force "org.checkerframework:checker-qual:3.40.0" | |||
force "ch.qos.logback:logback-classic:1.3.12" |
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.
@cwperks this should probably be set to 1.2.13
since Logback 1.3.x needs SLF4J 2.0 APIs (if I am not mistaken)
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.
Thank you reta! How can we catch issues like this as part of CI?
From logback's README:
Both 1.3.x and 1.4.x series require SLF4J 2.0.x or later.
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.
Is the issue preventing slf4j upgrade that OpenSearch still supports Java 8? From the slf4j README
SLF4J version 2.0.x will run under Java 8 but requires Java 9 or later to build.
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.
Is the issue preventing slf4j upgrade that OpenSearch still supports Java 8?
We basically could move to slf4j 2.x but I believe some deps (like Jetty 9 fe, if I am not mistaken) do still rely on slf4j 1.x
…rch-project#3801)" This reverts commit 2abd71b.
…ect#3801) ### Description Force resolve logback-classic to 1.3.12 to address GHSA-vmq6-5m68-f53m ### Issues Resolved [List any issues this PR will resolve] Is this a backport? If so, please add backport PR # and/or commits # ### Testing [Please provide details of testing done: unit testing, integration testing and manual testing] ### Check List - [ ] New functionality includes testing - [ ] New functionality has been documented - [ ] Commits are signed per the DCO using --signoff By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). Signed-off-by: Derek Ho <[email protected]> Signed-off-by: Prabhas Kurapati <[email protected]>
…arch-project#3804) Reverts opensearch-project#3801 Signed-off-by: Prabhas Kurapati <[email protected]>
…ect#3801) ### Description Force resolve logback-classic to 1.3.12 to address GHSA-vmq6-5m68-f53m ### Issues Resolved [List any issues this PR will resolve] Is this a backport? If so, please add backport PR # and/or commits # ### Testing [Please provide details of testing done: unit testing, integration testing and manual testing] ### Check List - [ ] New functionality includes testing - [ ] New functionality has been documented - [ ] Commits are signed per the DCO using --signoff By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). Signed-off-by: Derek Ho <[email protected]>
Description
Force resolve logback-classic to 1.3.12 to address GHSA-vmq6-5m68-f53m
Issues Resolved
[List any issues this PR will resolve]
Is this a backport? If so, please add backport PR # and/or commits #
Testing
[Please provide details of testing done: unit testing, integration testing and manual testing]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.