Update and rename cve-2021-44225.md to cve-2021-44228.md

This commit is contained in:
Sambo Chea 2021-12-11 13:13:16 +07:00 committed by GitHub
parent bde80b1dfe
commit af2450a5d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
# Zero-Day CVE-2021-44225 (Log4J Java Library) # Zero-Day CVE-2021-44228 (Log4J Java Library)
Details: [https://cubetiq.atlassian.net/browse/CERT-1](https://cubetiq.atlassian.net/browse/CERT-1) Details: [https://cubetiq.atlassian.net/browse/CERT-1](https://cubetiq.atlassian.net/browse/CERT-1)
***Resolved*** ***Resolved***
@ -10,17 +10,19 @@ Upgrade log4j to version: 2.15.0
##### Gradle Kotlin DSL (build.gradle.kts) (Gradle Multiple Modules) ##### Gradle Kotlin DSL (build.gradle.kts) (Gradle Multiple Modules)
```kts ```kts
allprojects { allprojects {
// Fixed Zero-Day CVE-2021-44225: https://cubetiq.atlassian.net/browse/CERT-1 // Fixed Zero-Day CVE-2021-44228: https://cubetiq.atlassian.net/browse/CERT-1
ext["log4j2.version"] = "2.15.0" ext["log4j2.version"] = "2.15.0"
} }
``` ```
##### Gradle Kotlin DSL (build.gradle.kts) (Gradle Single Module) ##### Gradle Kotlin DSL (build.gradle.kts) (Gradle Single Module)
```kts ```kts
// Fixed Zero-Day CVE-2021-44228: https://cubetiq.atlassian.net/browse/CERT-1
implementation(platform("org.apache.logging.log4j:log4j-bom:2.15.0")) implementation(platform("org.apache.logging.log4j:log4j-bom:2.15.0"))
``` ```
***Or*** ***Or***
```kts ```kts
// Fixed Zero-Day CVE-2021-44228: https://cubetiq.atlassian.net/browse/CERT-1
ext["log4j2.version"] = "2.15.0" ext["log4j2.version"] = "2.15.0"
``` ```
@ -28,7 +30,7 @@ ext["log4j2.version"] = "2.15.0"
```gradle ```gradle
allprojects { allprojects {
ext { ext {
// Fixed Zero-Day CVE-2021-44225: https://cubetiq.atlassian.net/browse/CERT-1 // Fixed Zero-Day CVE-2021-44228: https://cubetiq.atlassian.net/browse/CERT-1
set('log4j2.version', '2.15.0') set('log4j2.version', '2.15.0')
} }
} }
@ -36,6 +38,7 @@ allprojects {
***Or*** ***Or***
```kts ```kts
ext { ext {
// Fixed Zero-Day CVE-2021-44228: https://cubetiq.atlassian.net/browse/CERT-1
set('log4j2.version', '2.15.0') set('log4j2.version', '2.15.0')
} }
``` ```