Skip to content

Commit 9217bef

Browse files
authored
Merge pull request #233 from sotty/main
[CVE-2021-42550] Update Logback to version 1.2.9
2 parents 0146a19 + 02dd906 commit 9217bef

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Splunk Logging for Java
22

3-
#### Version 1.11.3
3+
#### Version 1.11.4
44

55
Splunk logging for Java enables you to log events to HTTP Event Collector or to a TCP input on a Splunk Enterprise instance within your Java applications. You can use three major Java logging frameworks: [Logback](http://logback.qos.ch), [Log4j 2](http://logging.apache.org/log4j/2.x/), and [java.util.logging](https://docs.oracle.com/javase/7/docs/api/java/util/logging/package-summary.html). Splunk logging for Java is also enabled for [Simple Logging Facade for Java (SLF4J)](http://www.slf4j.org).
66

@@ -35,7 +35,7 @@ You'll need Java version 8 or higher, from [OpenJDK](https://openjdk.java.net) o
3535
If you're using the Log4j 2, Simple Logging Facade for Java (SLF4J), or Logback logging frameworks in conjunction with Splunk logging for Java there are additional compatibility requirements. For more about logging framework requirements, see [Enable logging to HEC](https://dev.splunk.com/enterprise/docs/devtools/java/logging-java/howtouseloggingjava/enableloghttpjava/) and [Enable logging to TCP inputs](https://dev.splunk.com/enterprise/docs/devtools/java/logging-java/howtouseloggingjava/enablelogtcpjava). These frameworks require:
3636
* Log4j version 2.17.0
3737
* SLF4J version 1.7.30
38-
* Logback version 1.2.3
38+
* Logback version 1.2.9
3939

4040
## Documentation and resources
4141

pom.xml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.splunk.logging</groupId>
77
<artifactId>splunk-library-javalogging</artifactId>
8-
<version>1.11.3</version>
8+
<version>1.11.4</version>
99
<packaging>jar</packaging>
1010

1111
<name>Splunk Logging for Java</name>
@@ -22,6 +22,9 @@
2222
<!-- CVE-2021-44228: https://nvd.nist.gov/vuln/detail/CVE-2021-44228 -->
2323
<!-- CVE-2021-45046: https://nvd.nist.gov/vuln/detail/CVE-2021-45046 -->
2424
<log4j2.version>2.17.0</log4j2.version>
25+
26+
<!-- CVE-2021-42550: https://nvd.nist.gov/vuln/detail/CVE-2021-42550 -->
27+
<logback.version>1.2.9</logback.version>
2528
</properties>
2629
<profiles>
2730
<profile>
@@ -192,19 +195,19 @@
192195
<dependency>
193196
<groupId>ch.qos.logback</groupId>
194197
<artifactId>logback-classic</artifactId>
195-
<version>1.2.3</version>
198+
<version>${logback.version}</version>
196199
<scope>provided</scope>
197200
</dependency>
198201
<dependency>
199202
<groupId>ch.qos.logback</groupId>
200203
<artifactId>logback-core</artifactId>
201-
<version>1.2.3</version>
204+
<version>${logback.version}</version>
202205
<scope>provided</scope>
203206
</dependency>
204207
<dependency>
205208
<groupId>ch.qos.logback</groupId>
206209
<artifactId>logback-access</artifactId>
207-
<version>1.2.3</version>
210+
<version>${logback.version}</version>
208211
<scope>provided</scope>
209212
</dependency>
210213

@@ -334,4 +337,4 @@
334337
</scm>
335338

336339

337-
</project>
340+
</project>

0 commit comments

Comments
 (0)