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
2 people authored and tdcmeehan committed Jan 29, 2025
1 parent 7d522c2 commit d497a42
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 d497a42

Please sign in to comment.