Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
urgi-is
FAIDARE
Commits
cea7d291
Verified
Commit
cea7d291
authored
Dec 29, 2021
by
Raphaël Flores
Browse files
Mitigate log4shell security flaw
CVE-2021
-44228,
CVE-2021
-45046,
CVE-2021
-45105.
SYS-1129
.
parent
ace14a92
Changes
2
Hide whitespace changes
Inline
Side-by-side
backend/build.gradle.kts
View file @
cea7d291
...
...
@@ -99,6 +99,15 @@ dependencyManagement {
}
dependencies
{
constraints
{
implementation
(
"org.apache.logging.log4j:log4j-core"
)
{
version
{
strictly
(
"[2.17, 3["
)
prefer
(
"2.17.0"
)
}
because
(
"CVE-2021-44228, CVE-2021-45046, CVE-2021-45105: Log4j vulnerable to remote code execution and other critical security vulnerabilities"
)
}
}
// Spring
annotationProcessor
(
"org.springframework.boot:spring-boot-configuration-processor"
)
...
...
docker-compose.yml
View file @
cea7d291
...
...
@@ -5,6 +5,7 @@ services:
container_name
:
elasticsearch-faidare
environment
:
-
discovery.type=single-node
-
"
ES_JAVA_OPTS=-Dlog4j2.formatMsgNoLookups=true"
ports
:
-
9200:9200
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment