scylladb / kafka-connect-scylladb

Kafka Connect Scylladb Sink
Apache License 2.0
46 stars 22 forks source link

Update Netty beyond 4.1.45 (per CVE-2020-11612) #18

Closed mailmahee closed 1 year ago

mailmahee commented 4 years ago

There is a security vulnerability, CVE-2020-11612 in netty, before 4.1.46. (This is flagged by build-time tools, such as the commonly used OWASSP dependency-checker.)

It particularly affects any use of netty code in a server situation, where untrusted clients data is able to reach the server directly and be decoded:

The ZlibDecoders in Netty 4.1.x before 4.1.46 allow for unbounded memory allocation while decoding a ZlibEncoded byte stream. An attacker could send a large ZlibEncoded byte stream to the Netty server, forcing the server to allocate all of its free memory to a single decoder.

Update shaded netty version to at least 4.1.48 should fix the issue.

Bouncheck commented 1 year ago

We're using 4.1.77.Final currently. I think this can be closed @avelanarius.