Bug 90989 - stunnel fails with SSL_accept errors (decryption failed or bad record mac)
Summary: stunnel fails with SSL_accept errors (decryption failed or bad record mac)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: openssl
Version: 2.1
Hardware: i686
OS: Linux
medium
high
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-05-16 06:56 UTC by John Newbigin
Modified: 2007-11-30 22:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-03-30 11:42:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description John Newbigin 2003-05-16 06:56:39 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210

Description of problem:
Since this openssl was released, we have been seeing a lot of
May 16 16:06:56 venus stunnel[3641]: SSL_accept: error:1408F455:SSL
routines:SSL3_GET_RECORD:decryption failed or bad record mac
errors (we are using stunnel for pop3).

At first I put it down to outlook but now I have got an error while using
mozilla.  I think the problem is related to the RSA blinding
See http://cvs.openssl.org/getfile?f=openssl/CHANGES
Changes between 0.9.6i and 0.9.6j  [10 Apr 2003]
"Make RSA blinding thread-safe"...

Version-Release number of selected component (if applicable):
openssl-0.9.6b-32.7

How reproducible:
Sometimes

Steps to Reproduce:
1. Get 100 outlook clients using spop3
2. wait...

    

Actual Results:  May 16 16:06:56 venus stunnel[3640]: spopper connected from
123.145.5.156:1958
May 16 16:06:56 venus stunnel[3641]: spopper connected from 123.145.7.144:1374
May 16 16:06:56 venus stunnel[3640]: SSL_accept: error:1408F455:SSL
routines:SSL3_GET_RECORD:decryption failed or bad record mac
May 16 16:06:56 venus stunnel[3641]: SSL_accept: error:1408F455:SSL
routines:SSL3_GET_RECORD:decryption failed or bad record mac


Expected Results:  No errors.

Additional info:

It looks like this is a bug which has been fixed in 0.9.6j.  Either upgrade
openssl or backport the patch.

Comment 1 Julien Wajsberg 2003-07-02 11:31:37 UTC
Same problem using ldapsearch with SSL:

ldap_bind: Can't contact LDAP server
        additional info: error:1408F455:SSL routines:SSL3_GET_RECORD:decryption
failed or bad record mac

Comment 2 Tomas Mraz 2005-02-04 14:56:48 UTC
There is openssl-0.9.7 in the current releases.


Comment 3 John Newbigin 2005-02-06 22:15:15 UTC
2.1AS only has openssl-0.9.6b-36

We have been using stunnel 4 for over 12 months and it is working
reliably.

Comment 4 Tomas Mraz 2005-03-30 11:42:04 UTC
The thread safe RSA blinding was backported to openssl-0.9.6b-33.7 so later
packages should be fine.



Note You need to log in before you can comment on or make changes to this bug.