@@ -16,27 +16,27 @@ object Versions {
16
16
const val jedis = " 5.1.0"
17
17
const val kafka = " 3.6.0"
18
18
const val kafkaEmbedded = " 3.2.3"
19
- const val ktor = " 2.3.7 "
19
+ const val ktor = " 2.3.8 "
20
20
const val kluent = " 1.73"
21
21
const val jaxbApi = " 2.3.1"
22
22
const val jaxbRuntime = " 2.3.6"
23
23
const val jaxsWsApiVersion = " 2.3.1"
24
24
const val jaxwsToolsVersion = " 2.3.5"
25
+ const val jetty = " 9.4.53.v20231009"
25
26
const val logback = " 1.4.14"
26
27
const val logstashEncoder = " 7.4"
27
28
const val micrometerRegistry = " 1.12.0"
28
29
const val mockk = " 1.13.8"
29
30
const val nimbusjosejwt = " 9.37.2"
30
31
val postgresEmbedded = if (Os .isFamily(Os .FAMILY_MAC )) " 1.0.0" else " 0.13.4"
31
- const val postgres = " 42.6.0 "
32
+ const val postgres = " 42.7.2 "
32
33
const val redisEmbedded = " 0.7.3"
33
- const val scala = " 2.13.12"
34
34
const val spek = " 2.0.19"
35
35
const val tjenesteSpesifikasjonerGithub = " 1.2020.06.11-19.53-1cad83414166"
36
36
}
37
37
38
38
plugins {
39
- kotlin(" jvm" ) version " 1.9.21 "
39
+ kotlin(" jvm" ) version " 1.9.22 "
40
40
id(" com.github.johnrengelman.shadow" ) version " 8.1.1"
41
41
id(" org.jlleitschuh.gradle.ktlint" ) version " 11.4.2"
42
42
}
@@ -109,6 +109,20 @@ dependencies {
109
109
}
110
110
implementation(" org.apache.kafka:kafka_2.13:${Versions .kafka} " , excludeLog4j)
111
111
implementation(" io.confluent:kafka-avro-serializer:${Versions .confluent} " , excludeLog4j)
112
+ constraints {
113
+ implementation(" org.apache.commons:commons-compress" ) {
114
+ because(" org.apache.commons:commons-compress:1.22 -> https://www.cve.org/CVERecord?id=CVE-2012-2098" )
115
+ version {
116
+ require(" 1.26.0" )
117
+ }
118
+ }
119
+ implementation(" com.google.guava:guava" ) {
120
+ because(" com.google.guava:guava:30.1.1-jre -> https://www.cve.org/CVERecord?id=CVE-2020-8908" )
121
+ version {
122
+ require(" 32.1.3-jre" )
123
+ }
124
+ }
125
+ }
112
126
implementation(" io.confluent:kafka-schema-registry:${Versions .confluent} " , excludeLog4j)
113
127
constraints {
114
128
implementation(" org.yaml:snakeyaml" ) {
@@ -135,36 +149,41 @@ dependencies {
135
149
require(" 3.7.2" )
136
150
}
137
151
}
138
- }
139
- implementation(" no.nav.syfo.dialogmote.avro:isdialogmote-schema:${Versions .isdialogmoteSchema} " )
140
- constraints {
141
- implementation(" org.apache.avro:avro" ) {
142
- because(" no.nav.syfo.dialogmote.avro:isdialogmote-schema:${Versions .isdialogmoteSchema} -> https://nvd.nist.gov/vuln/detail/CVE-2023-39410" )
152
+ implementation(" org.eclipse.jetty:jetty-server" ) {
153
+ because(" io.confluent:kafka-schema-registry:${Versions .confluent} -> https://www.cve.org/CVERecord?id=CVE-2023-36478" )
143
154
version {
144
- require(" 1.11.3 " )
155
+ require(Versions .jetty )
145
156
}
146
157
}
147
- }
148
- implementation(" org.scala-lang:scala-library" ) {
149
- version {
150
- strictly(Versions .scala)
158
+ implementation(" org.eclipse.jetty:jetty-xml" ) {
159
+ because(" io.confluent:kafka-schema-registry:${Versions .confluent} -> https://www.cve.org/CVERecord?id=CVE-2023-36478" )
160
+ version {
161
+ require(Versions .jetty)
162
+ }
163
+ }
164
+ implementation(" org.eclipse.jetty:jetty-servlets" ) {
165
+ because(" io.confluent:kafka-schema-registry:${Versions .confluent} -> https://www.cve.org/CVERecord?id=CVE-2023-36478" )
166
+ version {
167
+ require(Versions .jetty)
168
+ }
151
169
}
152
- }
153
- testImplementation(" no.nav:kafka-embedded-env:${Versions .kafkaEmbedded} " , excludeLog4j)
154
- constraints {
155
170
implementation(" org.eclipse.jetty.http2:http2-server" ) {
156
- because(" no.nav :kafka-embedded-env :${Versions .kafkaEmbedded } -> https://advisory.checkmarx.net/advisory/vulnerability/ CVE-2022-2048/ " )
171
+ because(" io.confluent :kafka-schema-registry :${Versions .confluent } -> https://www.cve.org/CVERecord?id= CVE-2023-36478 " )
157
172
version {
158
- require(" 9.4.53.v20231009 " )
173
+ require(Versions .jetty )
159
174
}
160
175
}
161
- implementation(" com.google.protobuf:protobuf-java" ) {
162
- because(" io.confluent:kafka-schema-registry:${Versions .confluent} -> https://www.cve.org/CVERecord?id=CVE-2022-3510" )
176
+ }
177
+ implementation(" no.nav.syfo.dialogmote.avro:isdialogmote-schema:${Versions .isdialogmoteSchema} " )
178
+ constraints {
179
+ implementation(" org.apache.avro:avro" ) {
180
+ because(" no.nav.syfo.dialogmote.avro:isdialogmote-schema:${Versions .isdialogmoteSchema} -> https://nvd.nist.gov/vuln/detail/CVE-2023-39410" )
163
181
version {
164
- require(" 3.25.1 " )
182
+ require(" 1.11.3 " )
165
183
}
166
184
}
167
185
}
186
+ testImplementation(" no.nav:kafka-embedded-env:${Versions .kafkaEmbedded} " , excludeLog4j)
168
187
169
188
implementation(" no.nav.tjenestespesifikasjoner:servicemeldingMedKontaktinformasjon-v1-tjenestespesifikasjon:${Versions .tjenesteSpesifikasjonerGithub} " )
170
189
0 commit comments