Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 678235 Details for
Bug 894407
CVE-2013-0176 libssh: NULL dereference leads to denial of service
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for CVE-2013-0176
0003-CVE-2013-0176-Fix-a-remote-DoS-if-the-client-doesn-t.patch (text/plain), 1.59 KB, created by
Andreas Schneider
on 2013-01-14 13:40:17 UTC
(
hide
)
Description:
Patch for CVE-2013-0176
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2013-01-14 13:40:17 UTC
Size:
1.59 KB
patch
obsolete
>From 55b09f426417406bb25c0b9c474fbab1398b0dc8 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@cryptomilk.org> >Date: Wed, 9 Jan 2013 13:20:02 +0100 >Subject: [PATCH 3/3] CVE-2013-0176: Fix a remote DoS if the client doesn't > send a matching kex. > >Thanks to Yong Chuan Koh, X-Force Research <kohyc@sg.ibm.com> >--- > src/server.c | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > >diff --git a/src/server.c b/src/server.c >index 131a2bc..b4fb189 100644 >--- a/src/server.c >+++ b/src/server.c >@@ -184,7 +184,11 @@ static int dh_handshake_server(ssh_session session) { > prv = session->rsa_key; > break; > default: >- prv = NULL; >+ ssh_set_error(session, >+ SSH_FATAL, >+ "Could determine the specified hostkey"); >+ ssh_string_free(f); >+ return -1; > } > > pub = publickey_from_privatekey(prv); >@@ -270,6 +274,8 @@ static int dh_handshake_server(ssh_session session) { > */ > static void ssh_server_connection_callback(ssh_session session){ > int ssh1,ssh2; >+ int rc; >+ > enter_function(); > switch(session->session_state){ > case SSH_SESSION_STATE_NONE: >@@ -338,7 +344,10 @@ static void ssh_server_connection_callback(ssh_session session){ > case SSH_SESSION_STATE_KEXINIT_RECEIVED: > set_status(session,0.6f); > ssh_list_kex(session, &session->client_kex); // log client kex >- crypt_set_algorithms_server(session); >+ rc = crypt_set_algorithms_server(session); >+ if (rc == SSH_ERROR) { >+ goto error; >+ } > if (set_kex(session) < 0) { > goto error; > } >-- >1.8.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 894407
: 678235