Skip to content

Commit 69dae0c

Browse files
authored
Fixes for vulnerabilities CVE-2025-1948 and CVE-2025-5115 (#150)
* Fixes for vulnerabilities CVE-2025-1948 and CVE-2025-5115 * Fix http2-common version * PK fix
1 parent a738985 commit 69dae0c

5 files changed

Lines changed: 72 additions & 12 deletions

File tree

doc/changes/changelog.md

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/changes/changes_1.7.15.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Kafka Connector Extension 1.7.15, released 2025-08-27
2+
3+
Code name: Fixes for vulnerabilities CVE-2025-1948 and CVE-2025-5115
4+
5+
## Summary
6+
7+
This release fixes the following vulnerabilities:
8+
9+
### CVE-2025-5115 (CWE-400) in dependency `org.eclipse.jetty.http2:http2-common:jar:9.4.57.v20241219:compile`
10+
11+
In Eclipse Jetty, versions <=9.4.57, <=10.0.25, <=11.0.25, <=12.0.21, <=12.1.0.alpha2, an HTTP/2 client may trigger the server to send RST_STREAM frames, for example by sending frames that are malformed or that should not be sent in a particular stream state, therefore forcing the server to consume resources such as CPU and memory.
12+
13+
For example, a client can open a stream and then send WINDOW_UPDATE frames with window size increment of 0, which is illegal.
14+
Per specification https://www.rfc-editor.org/rfc/rfc9113.html#name-window_update , the server should send a RST_STREAM frame.
15+
The client can now open another stream and send another bad WINDOW_UPDATE, therefore causing the server to consume more resources than necessary, as this case does not exceed the max number of concurrent streams, yet the client is able to create an enormous amount of streams in a short period of time.
16+
17+
The attack can be performed with other conditions (for example, a DATA frame for a closed stream) that cause the server to send a RST_STREAM frame.
18+
19+
Links:
20+
21+
* https://github.com/jetty/jetty.project/security/advisories/GHSA-mmxm-8w33-wc4h
22+
23+
CVE: CVE-2025-5115
24+
CWE: CWE-400
25+
26+
#### References
27+
28+
- https://ossindex.sonatype.org/vulnerability/CVE-2025-5115?component-type=maven&component-name=org.eclipse.jetty.http2%2Fhttp2-common&utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1
29+
- http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2025-5115
30+
- https://github.com/advisories/GHSA-mmxm-8w33-wc4h
31+
32+
### CVE-2025-1948 (CWE-400) in dependency `org.eclipse.jetty.http2:http2-common:jar:9.4.57.v20241219:compile`
33+
34+
In Eclipse Jetty versions 12.0.0 to 12.0.16 included, an HTTP/2 client can specify a very large value for the HTTP/2 settings parameter SETTINGS_MAX_HEADER_LIST_SIZE.
35+
The Jetty HTTP/2 server does not perform validation on this setting, and tries to allocate a ByteBuffer of the specified capacity to encode HTTP responses, likely resulting in OutOfMemoryError being thrown, or even the JVM process exiting.
36+
37+
Sonatype's research suggests that this CVE's details differ from those defined at NVD. See https://ossindex.sonatype.org/vulnerability/CVE-2025-1948 for details
38+
39+
CVE: CVE-2025-1948
40+
CWE: CWE-400
41+
42+
#### References
43+
44+
- https://ossindex.sonatype.org/vulnerability/CVE-2025-1948?component-type=maven&component-name=org.eclipse.jetty.http2%2Fhttp2-common&utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1
45+
- http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2025-1948
46+
- https://github.com/advisories/GHSA-889j-63jv-qhr8
47+
48+
## Security
49+
50+
* #148: Fixed vulnerability CVE-2025-5115 in dependency `org.eclipse.jetty.http2:http2-common:jar:9.4.57.v20241219:compile`
51+
* #147: Fixed vulnerability CVE-2025-1948 in dependency `org.eclipse.jetty.http2:http2-common:jar:9.4.57.v20241219:compile`
52+
53+
## Dependency Updates
54+
55+
### Exasol Kafka Connector Extension
56+
57+
#### Compile Dependency Updates
58+
59+
* Updated `org.eclipse.jetty.http2:http2-common:9.4.57.v20241219` to `9.4.58.v20250814`

doc/user_guide/user_guide.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ checksum provided together with the jar file.
6161
To check the SHA256 sum of the downloaded jar, run the command:
6262

6363
```sh
64-
sha256sum exasol-kafka-connector-extension-1.7.14.jar
64+
sha256sum exasol-kafka-connector-extension-1.7.15.jar
6565
```
6666

6767
### Building From Source
@@ -84,7 +84,7 @@ sbt assembly
8484
```
8585

8686
The packaged jar file should be located at
87-
`target/scala-2.12/exasol-kafka-connector-extension-1.7.14.jar`.
87+
`target/scala-2.12/exasol-kafka-connector-extension-1.7.15.jar`.
8888

8989
### Create an Exasol BucketFS Bucket
9090

@@ -106,7 +106,7 @@ jar, please make sure the BucketFS ports are open.
106106
Upload the jar file using the `curl` command:
107107

108108
```bash
109-
curl -X PUT -T exasol-kafka-connector-extension-1.7.14.jar \
109+
curl -X PUT -T exasol-kafka-connector-extension-1.7.15.jar \
110110
http://w:<WRITE_PASSWORD>@<EXASOL_DATANODE>:2580/<BUCKET_NAME>/
111111
```
112112

@@ -135,12 +135,12 @@ OPEN SCHEMA KAFKA_EXTENSION;
135135

136136
CREATE OR REPLACE JAVA SET SCRIPT KAFKA_CONSUMER(...) EMITS (...) AS
137137
%scriptclass com.exasol.cloudetl.kafka.KafkaConsumerQueryGenerator;
138-
%jar /buckets/bfsdefault/<BUCKET>/exasol-kafka-connector-extension-1.7.14.jar;
138+
%jar /buckets/bfsdefault/<BUCKET>/exasol-kafka-connector-extension-1.7.15.jar;
139139
/
140140

141141
CREATE OR REPLACE JAVA SET SCRIPT KAFKA_IMPORT(...) EMITS (...) AS
142142
%scriptclass com.exasol.cloudetl.kafka.KafkaTopicDataImporter;
143-
%jar /buckets/bfsdefault/<BUCKET>/exasol-kafka-connector-extension-1.7.14.jar;
143+
%jar /buckets/bfsdefault/<BUCKET>/exasol-kafka-connector-extension-1.7.15.jar;
144144
/
145145

146146
CREATE OR REPLACE JAVA SET SCRIPT KAFKA_METADATA(
@@ -150,7 +150,7 @@ CREATE OR REPLACE JAVA SET SCRIPT KAFKA_METADATA(
150150
)
151151
EMITS (partition_index DECIMAL(18, 0), max_offset DECIMAL(36,0)) AS
152152
%scriptclass com.exasol.cloudetl.kafka.KafkaTopicMetadataReader;
153-
%jar /buckets/bfsdefault/<BUCKET>/exasol-kafka-connector-extension-1.7.14.jar;
153+
%jar /buckets/bfsdefault/<BUCKET>/exasol-kafka-connector-extension-1.7.15.jar;
154154
/
155155
```
156156

pk_generated_parent.pom

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.exasol</groupId>
55
<artifactId>kafka-connector-extension</artifactId>
6-
<version>1.7.14</version>
6+
<version>1.7.15</version>
77
<name>Exasol Kafka Connector Extension</name>
88
<description>Exasol Kafka Extension for accessing Apache Kafka</description>
99
<url>https://github.com/exasol/kafka-connector-extension/</url>
@@ -29,7 +29,7 @@
2929
<dependency>
3030
<groupId>io.netty</groupId>
3131
<artifactId>netty-bom</artifactId>
32-
<version>4.2.3.Final</version>
32+
<version>4.2.4.Final</version>
3333
<type>pom</type>
3434
<scope>import</scope>
3535
</dependency>
@@ -177,7 +177,7 @@
177177
<dependency>
178178
<groupId>org.eclipse.jetty.http2</groupId>
179179
<artifactId>http2-common</artifactId>
180-
<version>9.4.57.v20241219</version>
180+
<version>9.4.58.v20250814</version>
181181
</dependency>
182182
<dependency>
183183
<groupId>io.confluent</groupId>
@@ -594,7 +594,7 @@
594594
<parent>
595595
<artifactId>kafka-connector-extension-generated-parent</artifactId>
596596
<groupId>com.exasol</groupId>
597-
<version>1.7.14</version>
597+
<version>1.7.15</version>
598598
<relativePath>pk_generated_parent.pom</relativePath>
599599
</parent>
600600
</project>

0 commit comments

Comments
 (0)