Skip to content

Commit

Permalink
Merge pull request #293 from baldram/fix-CVE-2021-45046
Browse files Browse the repository at this point in the history
Update log4j-core and log4j-api dependencies to 2.16.0
  • Loading branch information
smirnoal authored Dec 15, 2021
2 parents 4bb71a8 + d1e734a commit ddd1fd8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ ___
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-log4j2</artifactId>
<version>1.3.0</version>
<version>1.4.0</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
Expand All @@ -68,7 +68,7 @@ ___
'com.amazonaws:aws-lambda-java-core:1.2.1'
'com.amazonaws:aws-lambda-java-events:3.11.0'
'com.amazonaws:aws-lambda-java-events-sdk-transformer:3.0.7'
'com.amazonaws:aws-lambda-java-log4j2:1.3.0'
'com.amazonaws:aws-lambda-java-log4j2:1.4.0'
'com.amazonaws:aws-lambda-java-runtime-interface-client:2.0.0'
'com.amazonaws:aws-lambda-java-tests:1.1.1'
```
Expand All @@ -79,7 +79,7 @@ ___
[com.amazonaws/aws-lambda-java-core "1.2.1"]
[com.amazonaws/aws-lambda-java-events "3.11.0"]
[com.amazonaws/aws-lambda-java-events-sdk-transformer "3.0.7"]
[com.amazonaws/aws-lambda-java-log4j2 "1.3.0"]
[com.amazonaws/aws-lambda-java-log4j2 "1.4.0"]
[com.amazonaws/aws-lambda-java-runtime-interface-client "2.0.0"]
[com.amazonaws/aws-lambda-java-tests "1.1.1"]
```
Expand All @@ -90,7 +90,7 @@ ___
"com.amazonaws" % "aws-lambda-java-core" % "1.2.1"
"com.amazonaws" % "aws-lambda-java-events" % "3.11.0"
"com.amazonaws" % "aws-lambda-java-events-sdk-transformer" % "3.0.7"
"com.amazonaws" % "aws-lambda-java-log4j2" % "1.3.0"
"com.amazonaws" % "aws-lambda-java-log4j2" % "1.4.0"
"com.amazonaws" % "aws-lambda-java-runtime-interface-client" % "2.0.0"
"com.amazonaws" % "aws-lambda-java-tests" % "1.1.1"
```
Expand Down
8 changes: 4 additions & 4 deletions aws-lambda-java-log4j2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ Example for Maven pom.xml
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-log4j2</artifactId>
<version>1.3.0</version>
<version>1.4.0</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.15.0</version>
<version>2.16.0</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.15.0</version>
<version>2.16.0</version>
</dependency>
....
</dependencies>
Expand Down Expand Up @@ -68,7 +68,7 @@ If you are using the [John Rengelman](https://github.com/johnrengelman/shadow) G
dependencies{
...
implementation group: 'com.amazonaws', name: 'aws-lambda-java-log4j2', version: '1.3.0'
implementation group: 'com.amazonaws', name: 'aws-lambda-java-log4j2', version: '1.4.0'
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: log4jVersion
implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: log4jVersion
}
Expand Down
4 changes: 4 additions & 0 deletions aws-lambda-java-log4j2/RELEASE.CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### December 15, 2021
`1.4.0`:
- Updated `log4j-core` and `log4j-api` dependencies to `2.16.0`

### December 10, 2021
`1.3.0`:
- Updated `log4j-core` and `log4j-api` dependencies to `2.15.0`
Expand Down
4 changes: 2 additions & 2 deletions aws-lambda-java-log4j2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-log4j2</artifactId>
<version>1.3.0</version>
<version>1.4.0</version>
<packaging>jar</packaging>

<name>AWS Lambda Java Log4j 2.x Libraries</name>
Expand Down Expand Up @@ -34,7 +34,7 @@
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<log4j.version>2.15.0</log4j.version>
<log4j.version>2.16.0</log4j.version>
</properties>

<distributionManagement>
Expand Down

0 comments on commit ddd1fd8

Please sign in to comment.