Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Cause: spice-server uses exclusively TLS version 1.0 for encrypted connections no matter what version(s) the client advertises.
Consequence: newer versions of TLS cannot be used
Fix: spice-server code was changed to allow TLS 1.0 or newer
Result: clients can connect using versions of TLS newer than 1.0
Description of problem:
spice-server uses exclusively TLS version 1.0 no matter what version(s) the client advertises. This is plain wrong as TLS 1.0 shows its age and the best version supported by both parties should be used.
Version-Release number of selected component (if applicable):
spice-gtk-0.20-11.el6.x86_64
How reproducible:
always
Steps to Reproduce:
1. run spice-server:
qemu-kvm -monitor stdio -vga qxl -spice disable-ticketing,x509-dir=<dir>,tls-port=<port>
2. start wireshark capture on the port
3. connect to the port using s_client set to respective TLS versions:
openssl s_client -CAfile /path/to/ca.pem -connect <fqdn>:<port> <TLS_VERSION>
where TLS version is:
* -tls1 for TLS 1.0
* -tls1_1 for TLS 1.1
* -tls1_2
4. look in the wireshark traces for ServerHello or "Client Key Exchange" messages.
If you can't see ClientHello message, right-click some captured packet, click Decode As..., go to Transport tab and select SSL.
Actual results:
TLSv1: connection is successfully established (good)
TLSv1.1: connection is terminated right after ClientHello packet
TLSv1.2: connection is terminated right after ClientHello packet
Expected results:
connection is successfully established when using any of TLS versions above
Additional info:
current version of spice-gtk is also tied to TLS 1.0 so it can't be used to test spice-server fix at the moment.
Wireshark protocol markings may be a bit misleading: there are two places where the version is specified in ClientHello message:
Secure Sockets Layer
TLSv<misleading_version> Record Layer: Handshake Protocol: ClientHello
...
Version: TLS 1.0 (0x301) <---- set to the TLS 1.0 for TLS 1.0-1.2
...
Handshake Protocol: ClientHello
...
Version: TLS 1.2 (0x303) <--- this must be set to version 1.1 or 1.2
in order to verify the bug
spice-server bug: bug 1035728
I forgot to add: when the server and client can't agree on TLS protocol version, either server sends SSL Alert message with Protocol Version message, or it just terminates connection (sends FIN packet).
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2014-1435.html
Description of problem: spice-server uses exclusively TLS version 1.0 no matter what version(s) the client advertises. This is plain wrong as TLS 1.0 shows its age and the best version supported by both parties should be used. Version-Release number of selected component (if applicable): spice-gtk-0.20-11.el6.x86_64 How reproducible: always Steps to Reproduce: 1. run spice-server: qemu-kvm -monitor stdio -vga qxl -spice disable-ticketing,x509-dir=<dir>,tls-port=<port> 2. start wireshark capture on the port 3. connect to the port using s_client set to respective TLS versions: openssl s_client -CAfile /path/to/ca.pem -connect <fqdn>:<port> <TLS_VERSION> where TLS version is: * -tls1 for TLS 1.0 * -tls1_1 for TLS 1.1 * -tls1_2 4. look in the wireshark traces for ServerHello or "Client Key Exchange" messages. If you can't see ClientHello message, right-click some captured packet, click Decode As..., go to Transport tab and select SSL. Actual results: TLSv1: connection is successfully established (good) TLSv1.1: connection is terminated right after ClientHello packet TLSv1.2: connection is terminated right after ClientHello packet Expected results: connection is successfully established when using any of TLS versions above Additional info: current version of spice-gtk is also tied to TLS 1.0 so it can't be used to test spice-server fix at the moment. Wireshark protocol markings may be a bit misleading: there are two places where the version is specified in ClientHello message: Secure Sockets Layer TLSv<misleading_version> Record Layer: Handshake Protocol: ClientHello ... Version: TLS 1.0 (0x301) <---- set to the TLS 1.0 for TLS 1.0-1.2 ... Handshake Protocol: ClientHello ... Version: TLS 1.2 (0x303) <--- this must be set to version 1.1 or 1.2 in order to verify the bug