Slackbot
08/09/2023, 11:25 PMLaurence Gonsalves
08/09/2023, 11:27 PMJonathan Leitschuh
08/09/2023, 11:27 PMJonathan Leitschuh
08/09/2023, 11:28 PMChris Lee
08/09/2023, 11:29 PMclasspath("org.apache.logging.log4j:log4j-core") {
version {
strictly("[2.17.2, 3[")
prefer("2.17.2")
}
because("CVE-2021-44228: Log4j vulnerable to remote code execution")
}
Jonathan Leitschuh
08/09/2023, 11:30 PMJonathan Leitschuh
08/09/2023, 11:31 PMJonathan Leitschuh
08/09/2023, 11:31 PMChris Lee
08/09/2023, 11:32 PMJonathan Leitschuh
08/09/2023, 11:33 PMLaurence Gonsalves
08/09/2023, 11:33 PMcom.expediagroup:graphql-kotlin-server:6.5.3
(transitively) depends on com.graphql-java:graphql-java:20.3
, which I thought was the same as requiring 20.3 or greater.Chris Lee
08/09/2023, 11:34 PMJonathan Leitschuh
08/09/2023, 11:36 PMChris Lee
08/09/2023, 11:37 PMJonathan Leitschuh
08/09/2023, 11:37 PMJonathan Leitschuh
08/09/2023, 11:38 PMor a constraint that specifies a version range / prefers.I don't know if I ever got this to work. But it may be possible
Chris Lee
08/09/2023, 11:38 PMversion {
strictly("[2.17.2, 3[")
prefer("2.17.2")
}
Chris Lee
08/09/2023, 11:39 PMJonathan Leitschuh
08/09/2023, 11:39 PMrequire
to work properly. Glad to see that prefer
is an optionChris Lee
08/09/2023, 11:40 PMLaurence Gonsalves
08/09/2023, 11:40 PMChris Lee
08/09/2023, 11:40 PMChris Lee
08/09/2023, 11:41 PMChris Lee
08/09/2023, 11:42 PMChris Lee
08/09/2023, 11:44 PMLaurence Gonsalves
08/09/2023, 11:52 PMconstraints {
api("com.graphql-java:graphql-java") {
version {
strictly("[20.4,)")
prefer("20.4")
}
because("CVE-2023-2976")
}
}
and this seems to work!Laurence Gonsalves
08/09/2023, 11:52 PMJonathan Leitschuh
08/10/2023, 12:01 AM