Skip to content

Commit 167fa84

Browse files
authored
Security/360 362 fix netty cves (#364)
* prepare next release * update aws and netty * update changelog
1 parent 3663ace commit 167fa84

6 files changed

Lines changed: 260 additions & 225 deletions

File tree

dependencies.md

Lines changed: 202 additions & 204 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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_2.9.1.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Cloud Storage Extension 2.9.1, released 2025-09-22
2+
3+
Code name: Fixed vulnerabilities in netty
4+
5+
## Summary
6+
7+
This release fixes the following vulnerabilities:
8+
9+
### CVE-2025-58057 (CWE-409) in dependency `io.netty:netty-codec:jar:4.1.124.Final:runtime`
10+
netty-codec - Improper Handling of Highly Compressed Data (Data Amplification)
11+
#### References
12+
* https://ossindex.sonatype.org/vulnerability/CVE-2025-58057?component-type=maven&component-name=io.netty%2Fnetty-codec&utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1
13+
* http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2025-58057
14+
* https://github.com/netty/netty/security/advisories/GHSA-3p8m-j85q-pgmj
15+
16+
### CVE-2025-58056 (CWE-444) in dependency `io.netty:netty-codec-http:jar:4.1.124.Final:runtime`
17+
Netty is an asynchronous event-driven network application framework for development of maintainable high performance protocol servers and clients. In versions 4.1.124.Final, and 4.2.0.Alpha3 through 4.2.4.Final, Netty incorrectly accepts standalone newline characters (LF) as a chunk-size line terminator, regardless of a preceding carriage return (CR), instead of requiring CRLF per HTTP/1.1 standards. When combined with reverse proxies that parse LF differently (treating it as part of the chunk extension), attackers can craft requests that the proxy sees as one request but Netty processes as two, enabling request smuggling attacks. This is fixed in versions 4.1.125.Final and 4.2.5.Final.
18+
#### References
19+
* https://ossindex.sonatype.org/vulnerability/CVE-2025-58056?component-type=maven&component-name=io.netty%2Fnetty-codec-http&utm_source=ossindex-client&utm_medium=integration&utm_content=1.8.1
20+
* http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2025-58056
21+
* https://github.com/netty/netty/security/advisories/GHSA-fghv-69vj-qj49
22+
23+
## Security
24+
25+
* #360: Fixed vulnerability CVE-2025-58057 in dependency `io.netty:netty-codec:jar:4.1.124.Final:runtime`
26+
* #362: Fixed vulnerability CVE-2025-58056 in dependency `io.netty:netty-codec-http:jar:4.1.124.Final:runtime`
27+
28+
## Dependency Updates
29+
30+
### Cloud Storage Extension
31+
32+
#### Compile Dependency Updates
33+
34+
* Removed `io.netty:netty-codec-http2:4.1.124.Final`
35+
* Updated `software.amazon.awssdk:s3-transfer-manager:2.32.31` to `2.34.0`
36+
* Updated `software.amazon.awssdk:s3:2.32.31` to `2.34.0`

doc/user_guide/user_guide.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ downloaded jar file is the same as the checksum provided in the releases.
150150
To check the SHA256 result of the local jar, run the command:
151151

152152
```sh
153-
sha256sum exasol-cloud-storage-extension-2.9.0.jar
153+
sha256sum exasol-cloud-storage-extension-2.9.1.jar
154154
```
155155

156156
### Building From Source
@@ -180,7 +180,7 @@ mvn clean package -DskipTests=true
180180
```
181181

182182
The assembled jar file should be located at
183-
`target/exasol-cloud-storage-extension-2.9.0.jar`.
183+
`target/exasol-cloud-storage-extension-2.9.1.jar`.
184184

185185
### Create an Exasol Bucket
186186

@@ -202,7 +202,7 @@ for the HTTP protocol.
202202
Upload the jar file using curl command:
203203

204204
```sh
205-
curl -X PUT -T exasol-cloud-storage-extension-2.9.0.jar \
205+
curl -X PUT -T exasol-cloud-storage-extension-2.9.1.jar \
206206
http://w:<WRITE_PASSWORD>@exasol.datanode.domain.com:2580/<BUCKET>/
207207
```
208208

@@ -237,7 +237,7 @@ OPEN SCHEMA CLOUD_STORAGE_EXTENSION;
237237

238238
CREATE OR REPLACE JAVA SET SCRIPT IMPORT_PATH(...) EMITS (...) AS
239239
%scriptclass com.exasol.cloudetl.scriptclasses.FilesImportQueryGenerator;
240-
%jar /buckets/bfsdefault/<BUCKET>/exasol-cloud-storage-extension-2.9.0.jar;
240+
%jar /buckets/bfsdefault/<BUCKET>/exasol-cloud-storage-extension-2.9.1.jar;
241241
/
242242

243243
CREATE OR REPLACE JAVA SCALAR SCRIPT IMPORT_METADATA(...) EMITS (
@@ -247,12 +247,12 @@ CREATE OR REPLACE JAVA SCALAR SCRIPT IMPORT_METADATA(...) EMITS (
247247
end_index DECIMAL(36, 0)
248248
) AS
249249
%scriptclass com.exasol.cloudetl.scriptclasses.FilesMetadataReader;
250-
%jar /buckets/bfsdefault/<BUCKET>/exasol-cloud-storage-extension-2.9.0.jar;
250+
%jar /buckets/bfsdefault/<BUCKET>/exasol-cloud-storage-extension-2.9.1.jar;
251251
/
252252

253253
CREATE OR REPLACE JAVA SET SCRIPT IMPORT_FILES(...) EMITS (...) AS
254254
%scriptclass com.exasol.cloudetl.scriptclasses.FilesDataImporter;
255-
%jar /buckets/bfsdefault/<BUCKET>/exasol-cloud-storage-extension-2.9.0.jar;
255+
%jar /buckets/bfsdefault/<BUCKET>/exasol-cloud-storage-extension-2.9.1.jar;
256256
/
257257
```
258258

@@ -271,12 +271,12 @@ OPEN SCHEMA CLOUD_STORAGE_EXTENSION;
271271

272272
CREATE OR REPLACE JAVA SET SCRIPT EXPORT_PATH(...) EMITS (...) AS
273273
%scriptclass com.exasol.cloudetl.scriptclasses.TableExportQueryGenerator;
274-
%jar /buckets/bfsdefault/<BUCKET>/exasol-cloud-storage-extension-2.9.0.jar;
274+
%jar /buckets/bfsdefault/<BUCKET>/exasol-cloud-storage-extension-2.9.1.jar;
275275
/
276276

277277
CREATE OR REPLACE JAVA SET SCRIPT EXPORT_TABLE(...) EMITS (ROWS_AFFECTED INT) AS
278278
%scriptclass com.exasol.cloudetl.scriptclasses.TableDataExporter;
279-
%jar /buckets/bfsdefault/<BUCKET>/exasol-cloud-storage-extension-2.9.0.jar;
279+
%jar /buckets/bfsdefault/<BUCKET>/exasol-cloud-storage-extension-2.9.1.jar;
280280
/
281281
```
282282

@@ -410,13 +410,13 @@ CREATE OR REPLACE JAVA SCALAR SCRIPT IMPORT_METADATA(...) EMITS (
410410
) AS
411411
%jvmoption -DHTTPS_PROXY=http://username:password@10.10.1.10:1180
412412
%scriptclass com.exasol.cloudetl.scriptclasses.FilesMetadataReader;
413-
%jar /buckets/bfsdefault/<BUCKET>/exasol-cloud-storage-extension-2.9.0.jar;
413+
%jar /buckets/bfsdefault/<BUCKET>/exasol-cloud-storage-extension-2.9.1.jar;
414414
/
415415

416416
CREATE OR REPLACE JAVA SET SCRIPT IMPORT_FILES(...) EMITS (...) AS
417417
%jvmoption -DHTTPS_PROXY=http://username:password@10.10.1.10:1180
418418
%scriptclass com.exasol.cloudetl.scriptclasses.FilesDataImporter;
419-
%jar /buckets/bfsdefault/<BUCKET>/exasol-cloud-storage-extension-2.9.0.jar;
419+
%jar /buckets/bfsdefault/<BUCKET>/exasol-cloud-storage-extension-2.9.1.jar;
420420
/
421421
```
422422

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: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.exasol</groupId>
55
<artifactId>cloud-storage-extension</artifactId>
6-
<version>2.9.0</version>
6+
<version>2.9.1</version>
77
<name>Cloud Storage Extension</name>
88
<description>Exasol Cloud Storage Import And Export Extension</description>
99
<url>https://github.com/exasol/cloud-storage-extension/</url>
1010
<parent>
1111
<artifactId>cloud-storage-extension-generated-parent</artifactId>
1212
<groupId>com.exasol</groupId>
13-
<version>2.9.0</version>
13+
<version>2.9.1</version>
1414
<relativePath>pk_generated_parent.pom</relativePath>
1515
</parent>
1616
<properties>
1717
<scala.version>2.13.11</scala.version>
1818
<scala.compat.version>2.13</scala.compat.version>
1919
<hadoop.version>3.4.1</hadoop.version>
20-
<awssdk.version>2.32.31</awssdk.version>
20+
<awssdk.version>2.34.0</awssdk.version>
2121
<jersey.version>2.45</jersey.version>
2222
<log4j.version>2.24.1</log4j.version>
2323
<logback.version>1.5.16</logback.version>
@@ -36,6 +36,13 @@
3636
<type>pom</type>
3737
<scope>import</scope>
3838
</dependency>
39+
<dependency>
40+
<groupId>io.netty</groupId>
41+
<artifactId>netty-bom</artifactId>
42+
<version>4.2.6.Final</version>
43+
<type>pom</type>
44+
<scope>import</scope>
45+
</dependency>
3946
</dependencies>
4047
</dependencyManagement>
4148
<dependencies>
@@ -87,13 +94,6 @@
8794
<artifactId>grpc-netty</artifactId>
8895
<version>1.65.1</version>
8996
</dependency>
90-
<dependency>
91-
<!-- Upgrade nettty-codec-http2 to fix CVE-2024-29025 & CVE-2024-47535 in io.netty:netty-common -->
92-
<!-- This version has to be aligned with aws version -->
93-
<groupId>io.netty</groupId>
94-
<artifactId>netty-codec-http2</artifactId>
95-
<version>4.1.124.Final</version>
96-
</dependency>
9797
<dependency>
9898
<!-- Upgrade commons-beanutils to fix CVE-2025-48734 -->
9999
<groupId>commons-beanutils</groupId>

0 commit comments

Comments
 (0)