Skip to content

Commit

Permalink
Fix CVE-2011-1473 by disabling client renegotiation
Browse files Browse the repository at this point in the history
The upstream airlift fixed the security vulnerability
with PR airlift#1293

This is a backport of the fix.

Co-authored-by:  "Mateusz \"Serafin\" Gajewski" <[email protected]>
  • Loading branch information
czentgr and wendigo committed Jan 2, 2025
1 parent f039442 commit d142ed8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ public HttpServer(HttpServerInfo httpServerInfo,
sslContextFactory.setWantClientAuth(true);
sslContextFactory.setSslSessionTimeout((int) config.getSslSessionTimeout().getValue(SECONDS));
sslContextFactory.setSslSessionCacheSize(config.getSslSessionCacheSize());
sslContextFactory.setRenegotiationAllowed(false);
SslConnectionFactory sslConnectionFactory = new SslConnectionFactory(sslContextFactory, "http/1.1");

Integer acceptors = config.getHttpsAcceptorThreads();
Expand Down

0 comments on commit d142ed8

Please sign in to comment.