Bug 1540021 - libssh still links against obsolete openssl 1.0 causing problem if used from apps that link with modern openssl 1.1
Summary: libssh still links against obsolete openssl 1.0 causing problem if used from ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libssh
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Schneider
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-30 05:54 UTC by Remi Collet
Modified: 2018-02-06 15:32 UTC (History)
13 users (show)

Fixed In Version: libssh-0.7.5-6.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-06 15:32:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Remi Collet 2018-01-30 05:54:45 UTC
Having both version in the same process can only raise strange failure

$ rpm -q --requires libvirt-libs | grep ssh
libssh.so.4()(64bit)
libssh2.so.1()(64bit)

$ rpm -qf /usr/lib64/libssh.so.4
libssh-0.7.5-4.fc27 (x86_64)

$ rpm -q --requires libssh | grep crypto
libcrypto.so.10()(64bit)
libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
libcrypto.so.10(libcrypto.so.10)(64bit)
libk5crypto.so.3()(64bit)

$ rpm -qf /usr/lib64/libssh2.so.1
libssh2-1.8.0-5.fc27 (x86_64)

$ rpm -q --requires libssh2 | grep crypto
libcrypto.so.1.1()(64bit)
libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)

Comment 1 Daniel Berrangé 2018-01-31 09:35:18 UTC
There's nothing libvirt can do about this, because the openssl deps are pulled in by a third party library. We need libssh to update to the modern openssl 1.1 too.

Comment 2 Remi Collet 2018-01-31 10:33:44 UTC
It seems than debian use a 0.8.0 git snapshot which have support for OpenSSL 1.1

Comment 3 Fedora Update System 2018-02-01 10:27:19 UTC
libssh-0.7.5-6.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-513481e672

Comment 4 Remi Collet 2018-02-01 10:43:51 UTC
I confirm, everything seems ok now

$ rpm -q libssh
libssh-0.7.5-6.fc27.x86_64

$ rpm -q --requires libssh | grep crypto
libcrypto.so.1.1()(64bit)
libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)
libk5crypto.so.3()(64bit)

Also inherited on consumers

$ ldd /usr/lib64/php/modules/libvirt-php.so  | grep crypto
	libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fa3f5d61000)
	libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007fa3f54c6000)


Thanks a lot

Comment 5 Fedora Update System 2018-02-01 19:32:12 UTC
libssh-0.7.5-6.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-513481e672

Comment 6 Fedora Update System 2018-02-06 15:32:51 UTC
libssh-0.7.5-6.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


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