[Bug 1973760] Re: Crash when using DIGEST-MD5 with SSF>=128

2022-05-23 Thread Andreas Hasenack
Fixed in https://launchpad.net/ubuntu/+source/cyrus-sasl2/2.1.28+dfsg-6

** Changed in: cyrus-sasl2 (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973760

Title:
  Crash when using DIGEST-MD5 with SSF>=128

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/1973760/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1973760] Re: Crash when using DIGEST-MD5 with SSF>=128

2022-05-22 Thread Bug Watch Updater
** Changed in: cyrus-sasl2 (Debian)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973760

Title:
  Crash when using DIGEST-MD5 with SSF>=128

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/1973760/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1973760] Re: Crash when using DIGEST-MD5 with SSF>=128

2022-05-20 Thread Andreas Hasenack
A fixed cyrus-sasl2 is in kinetic-proposed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973760

Title:
  Crash when using DIGEST-MD5 with SSF>=128

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/1973760/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1973760] Re: Crash when using DIGEST-MD5 with SSF>=128

2022-05-19 Thread Andreas Hasenack
Bileto is green: https://bileto.ubuntu.com/#/ticket/4852

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973760

Title:
  Crash when using DIGEST-MD5 with SSF>=128

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/1973760/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1973760] Re: Crash when using DIGEST-MD5 with SSF>=128

2022-05-19 Thread Andreas Hasenack
Submitted the cyrus-sasl2 fix to Debian via
https://salsa.debian.org/debian/cyrus-sasl2/-/merge_requests/11

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973760

Title:
  Crash when using DIGEST-MD5 with SSF>=128

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/1973760/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1973760] Re: Crash when using DIGEST-MD5 with SSF>=128

2022-05-18 Thread Bug Watch Updater
** Changed in: cyrus-sasl2 (Debian)
   Status: Unknown => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973760

Title:
  Crash when using DIGEST-MD5 with SSF>=128

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/1973760/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1973760] Re: Crash when using DIGEST-MD5 with SSF>=128

2022-05-18 Thread Andreas Hasenack
** Bug watch added: Debian Bug tracker #1011249
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011249

** Also affects: cyrus-sasl2 (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011249
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973760

Title:
  Crash when using DIGEST-MD5 with SSF>=128

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/1973760/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1973760] Re: Crash when using DIGEST-MD5 with SSF>=128

2022-05-18 Thread Andreas Hasenack
Submitted python-bonsai DEP8 fixes to Debian via
https://salsa.debian.org/python-team/packages/python-
bonsai/-/merge_requests/1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973760

Title:
  Crash when using DIGEST-MD5 with SSF>=128

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/1973760/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1973760] Re: Crash when using DIGEST-MD5 with SSF>=128

2022-05-17 Thread Andreas Hasenack
https://github.com/cyrusimap/cyrus-sasl/pull/653

https://github.com/cyrusimap/cyrus-sasl/issues/665

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973760

Title:
  Crash when using DIGEST-MD5 with SSF>=128

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/1973760/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1973760] Re: Crash when using DIGEST-MD5 with SSF>=128

2022-05-17 Thread Andreas Hasenack
https://github.com/cyrusimap/cyrus-sasl/pull/668

** Bug watch added: github.com/cyrusimap/cyrus-sasl/issues #665
   https://github.com/cyrusimap/cyrus-sasl/issues/665

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973760

Title:
  Crash when using DIGEST-MD5 with SSF>=128

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/1973760/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1973760] Re: Crash when using DIGEST-MD5 with SSF>=128

2022-05-17 Thread Andreas Hasenack
Working theory at the moment is that cyrus-sasl2 is using RC4 from
OpenSSL, and OpenSSL3 deprecated it:

On Kinetic:
$ openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)

$ echo -ne test | openssl rc4 -k test 
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
Error setting cipher RC4
4057FE8C0B7F:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default library context, Algorithm (RC4 : 37), Properties ()
Salted__gG

On Impish:
$ openssl version
OpenSSL 1.1.1l  24 Aug 2021

$ echo -ne test | openssl rc4 -k test
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
Salted__~T�|=�ʇ


Jammy:
$ openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
$ echo -ne "test" | openssl rc4 -k test
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
Error setting cipher RC4
40078BF4127F:error:0308010C:digital envelope 
routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global
 default library context, Algorithm (RC4 : 37), Properties ()
Salted__��N�x���


Both jammy and kinetic show "Error setting cipher RC4".

Oh, and the stack trace confirming it's inside openssl:
(gdb) bt

   
#0  0x774085cb in EVP_EncryptUpdate (ctx=0x0, 
out=out@entry=0x555c7cf4 
"0\036\002\001\004w\031\200\027\061.3.6.1.4.1.4203.1.11.3ST-MD5 client step 3", 

outl=outl@entry=0x7fffdbc4, in=0x555c8d50 
"0\036\002\001\004w\031\200\027\061.3.6.1.4.1.4203.1.11.311.311.3", inl=32) at 
../crypto/evp/evp_enc.c:614   
#1  0x770a07a9 in enc_rc4 (text=0x55585e00, input=, 
inputlen=, digest=0x7fffdc20 
"^\316@+\322}\a\334\006T\005\353:H}\036\260l\\UUU", 
output=0x555c7cf4 
"0\036\002\001\004w\031\200\027\061.3.6.1.4.1.4203.1.11.3ST-MD5 client step 3", 
outputlen=0x7fffdda4) at ../../plugins/digestmd5.c:1201 
 
#2  0x770a1ddb in digestmd5_encode (context=0x55585e00, 
invec=, numiov=, output=0x5559e708, 
outputlen=0x7fffdda4)
at ../../plugins/digestmd5.c:1552   

   
#3  0x77f33c3e in _sasl_encodev (conn=conn@entry=0x55586cf0, 
invec=invec@entry=0x7fffdd70, numiov=numiov@entry=1, 
p_num_packets=p_num_packets@entry=0x7fffdd0c,
output=output@entry=0x5559e708, 
outputlen=outputlen@entry=0x7fffdda4) at ../../lib/common.c:359 
   
#4  0x77f360a1 in sasl_encodev (conn=conn@entry=0x55586cf0, 
invec=invec@entry=0x7fffdd70, numiov=numiov@entry=1, 
output=output@entry=0x5559e708,   
outputlen=outputlen@entry=0x7fffdda4) at ../../lib/common.c:582 

   
#5  0x77f361d0 in sasl_encode (conn=0x55586cf0, input=, inputlen=, output=output@entry=0x5559e708, 
outputlen=outputlen@entry=0x7fffdda4) 
at ../../lib/common.c:304   

   
#6  0x77f665ba in sb_sasl_cyrus_encode (p=0x5559e680, 
buf=, len=, dst=0x5559e6f0) at 
../../../../libraries/libldap/cyrus.c:134   
#7  0x77f66b90 in sb_sasl_generic_write (sbiod=0x55585a30, 
buf=0x555c8d50, len=) at 
../../../../libraries/libldap/sasl.c:783
#8  0x77f4ad3c in sb_debug_write (sbiod=0x55586aa0, 
buf=0x555c8d50, len=32) at ../../../../libraries/liblber/sockbuf.c:854  
   
#9  0x77f50105 in ber_int_sb_write (sb=sb@entry=0x55585900, 
buf=0x555c8d50, len=len@entry=32) at 
../../../../libraries/liblber/sockbuf.c:445   
#10 0x77f5027b in ber_flush2 (sb=0x55585900, ber=0x555c7c90, 
freeit=freeit@entry=0) at ../../../../libraries/liblber/io.c:249
  
#11 0x77f7e0a7 in ldap_int_flush_request (ld=ld@entry=0x555834e0, 
lr=lr@entry=0x555c6cb0) at ../../../../libraries/libldap/request.c:186  
 
#12 0x77f8001f in ldap_send_server_request (ld=ld@entry=0x555834e0, 
ber=ber@entry=0x555c7c90,