Skip to content

Commit

Permalink
Add exlusion for logback-core to resolve CVE-2023-6378 (opensearch-pr…
Browse files Browse the repository at this point in the history
…oject#4049)

### Description
[Describe what this change achieves]
This change adds an exclusion for the transitive logback-core dependency
that the Security plugin was still using as a test dependency.

This should resolve the flagging of CVE-2023-6378 even though we should
not have been directly impacted.

### Check List
- [ ] ~New functionality includes testing~
- [ ] ~New functionality has been documented~
- [x] 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: Stephen Crawford <[email protected]>
  • Loading branch information
stephen-crawford authored Feb 14, 2024
1 parent 0bb31ca commit babf012
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,7 @@ dependencies {
testRuntimeOnly 'com.typesafe.scala-logging:scala-logging_3:3.9.5'
testRuntimeOnly('org.apache.zookeeper:zookeeper:3.9.1') {
exclude(group:'ch.qos.logback', module: 'logback-classic' )
exclude(group:'ch.qos.logback', module: 'logback-core' )
}
testRuntimeOnly "org.apache.kafka:kafka-metadata:${kafka_version}"
testRuntimeOnly "org.apache.kafka:kafka-storage:${kafka_version}"
Expand Down

0 comments on commit babf012

Please sign in to comment.