ejabberd fails incoming connections with "Failed to secure c2s connection: TLS failed: client renegotiations forbidden"

Bug #1840902 reported by Robie Basak
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ejabberd (Ubuntu)
New
Undecided
Unassigned
Bionic
New
Critical
Unassigned
openssl (Ubuntu)
Invalid
Undecided
Unassigned
Bionic
Invalid
Critical
Unassigned

Bug Description

ejabberd 18.01-2 on Bionic.
Bad: openssl/libssl1.1 1.1.1-1ubuntu2.1~18.04.4
Good: openssl/libssl1.1 1.1.0g-2ubuntu4.3

This hit the Bionic security pocket yesterday, so everyone who uses unattended-upgrades for security only (which is the default) will have received this overnight.

Workaround: downgrade openssl/libssl1.1 to 1.1.0g-2ubuntu4.3 using old builds that are available from https://launchpad.net/ubuntu/+source/openssl/1.1.0g-2ubuntu4.3 (follow the architecture link eg. "amd64")

The error logged by ejabberd is:

2019-08-21 06:52:28.402 [warning] <0.539.0>@ejabberd_c2s:process_terminated:290 (tls|<0.539.0>) Failed to secure c2s connection: TLS failed: client renegotiations forbidden

Robie Basak (racb)
Changed in ejabberd (Ubuntu Bionic):
importance: Undecided → Critical
Changed in openssl (Ubuntu Bionic):
importance: Undecided → Critical
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I'm pretty sure this is a duplicate and was fixed before. Let me try to find the actual relevant package.

Possibly it may need a rebuild / publish in the security pocket, if it was only published in updates.

Changed in openssl (Ubuntu):
status: New → Invalid
Changed in openssl (Ubuntu Bionic):
status: New → Invalid
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

https://launchpad.net/ubuntu/+source/erlang-p1-tls/1.0.20-1ubuntu0.1

erlang-p1-tls (1.0.20-1ubuntu0.1) bionic; urgency=medium

  * Cherrypick upstream patches for openssl1.1 support:
    - fix client cert authentication
    - update test certificates
    - add support for 'no_tlsv1_3' option
    - testsuite fixes
    - do not attempt unsupported renegotiation LP: #1832933

 -- Dimitri John Ledkov <email address hidden> Sun, 16 Jun 2019 01:48:12 +0100

In updates.

Revision history for this message
Robie Basak (racb) wrote :

This seems fixed in the security pocket now. Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.