Netflix / astyanax

Cassandra Java Client
Apache License 2.0
1.04k stars 355 forks source link

astyanax-cql ships with version of Netty with known vulnerabilily #636

Open jacek99 opened 7 years ago

jacek99 commented 7 years ago

io.netty:netty:3.9.0.Final

The OWASP dependency plugin flags it as having a known SSL vulnerability Pls release new version with updated Netty.

Published Vulnerabilities

CVE-2014-3488

Severity: Medium CVSS Score: 5.0 (AV:N/AC:L/Au:N/C:N/I:N/A:P) CWE: CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

The SslHandler in Netty before 3.9.2 allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via a crafted SSLv2Hello message.

CONFIRM - http://netty.io/news/2014/06/11/3-9-2-Final.html
CONFIRM - https://github.com/netty/netty/commit/2fa9400a59d0563a66908aba55c41e7285a04994
CONFIRM - https://github.com/netty/netty/issues/2562

Vulnerable Software & Versions: (show all)

cpe:/a:netty_project:netty:3.9.0
...

CVE-2014-0193

Severity: Medium CVSS Score: 5.0 (AV:N/AC:L/Au:N/C:N/I:N/A:P) CWE: CWE-399 Resource Management Errors

WebSocket08FrameDecoder in Netty 3.6.x before 3.6.9, 3.7.x before 3.7.1, 3.8.x before 3.8.2, 3.9.x before 3.9.1, and 4.0.x before 4.0.19 allows remote attackers to cause a denial of service (memory consumption) via a TextWebSocketFrame followed by a long stream of ContinuationWebSocketFrames.

BID - 67182
CONFIRM - http://netty.io/news/2014/04/30/release-day.html
CONFIRM - https://github.com/netty/netty/issues/2441
REDHAT - RHSA-2014:1019
REDHAT - RHSA-2014:1020
REDHAT - RHSA-2014:1021
REDHAT - RHSA-2014:1351
REDHAT - RHSA-2015:0675
REDHAT - RHSA-2015:0720
REDHAT - RHSA-2015:0765
SECUNIA - 59290

Vulnerable Software & Versions: (show all)

cpe:/a:netty_project:netty:3.9.0
...

Please consider integrating the OWASP dependency plugin into Astyanax to catch all of these during build time:

https://jeremylong.github.io/DependencyCheck/dependency-check-gradle/

coelho commented 6 years ago

Astyanax does not even use SslHandler... Did you check? IMHO, a lint tool complaining is not worth updating the dependency given the maintenance implications.