Bug 871614 (CVE-2012-4560) - CVE-2012-4560 libssh: multiple buffer overflow flaws
Summary: CVE-2012-4560 libssh: multiple buffer overflow flaws
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-4560
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 861966 878521
Blocks: 815693
TreeView+ depends on / blocked
 
Reported: 2012-10-30 21:02 UTC by Vincent Danen
Modified: 2019-09-29 12:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-16 12:39:10 UTC
Embargoed:


Attachments (Terms of Use)
CVE-2012-4560-Fix-possible-integer-overflow-in-ssh_g.patch (897 bytes, patch)
2012-11-14 08:51 UTC, Andreas Schneider
no flags Details | Diff
CVE-2012-4560-Fix-multiple-integer-overflows-in-buff.patch (2.83 KB, patch)
2012-11-14 08:51 UTC, Andreas Schneider
no flags Details | Diff
CVE-2012-4560-Fix-a-possible-infinite-loop-in-buffer.patch (1.22 KB, patch)
2012-11-14 08:52 UTC, Andreas Schneider
no flags Details | Diff
CVE-2012-4560-Fix-possible-integer-overflows.patch (1.51 KB, patch)
2012-11-14 08:52 UTC, Andreas Schneider
no flags Details | Diff
CVE-2012-4560-Fix-a-write-one-past-the-end-of-the-u-.patch (719 bytes, patch)
2012-11-14 08:52 UTC, Andreas Schneider
no flags Details | Diff
CVE-2012-4560-Fix-a-write-one-past-the-end-of-buf.patch (1.08 KB, patch)
2012-11-14 08:53 UTC, Andreas Schneider
no flags Details | Diff
CVE-2012-4560-Fix-a-write-one-past-the-end-of-the-u-.patch (719 bytes, patch)
2012-11-14 16:43 UTC, Andreas Schneider
no flags Details | Diff
CVE-2012-4560-Fix-a-write-one-past-the-end-of-buf.patch (1.08 KB, patch)
2012-11-14 16:44 UTC, Andreas Schneider
no flags Details | Diff

Description Vincent Danen 2012-10-30 21:02:33 UTC
Florian Weimer of the Red Hat Product Security Team reported two cases where a function in libssh would write one past the end of the buffer (the u buffer in misc.c:ssh_path_expand_tilde() and the buf buffer in misc.c:ssh_path_expand_escape()).

Comment 1 Andreas Schneider 2012-11-14 08:51:17 UTC
Created attachment 644664 [details]
CVE-2012-4560-Fix-possible-integer-overflow-in-ssh_g.patch

Comment 2 Andreas Schneider 2012-11-14 08:51:36 UTC
Created attachment 644665 [details]
CVE-2012-4560-Fix-multiple-integer-overflows-in-buff.patch

Comment 3 Andreas Schneider 2012-11-14 08:52:00 UTC
Created attachment 644666 [details]
CVE-2012-4560-Fix-a-possible-infinite-loop-in-buffer.patch

Comment 4 Andreas Schneider 2012-11-14 08:52:21 UTC
Created attachment 644667 [details]
CVE-2012-4560-Fix-possible-integer-overflows.patch

Comment 5 Andreas Schneider 2012-11-14 08:52:43 UTC
Created attachment 644668 [details]
CVE-2012-4560-Fix-a-write-one-past-the-end-of-the-u-.patch

Comment 6 Andreas Schneider 2012-11-14 08:53:09 UTC
Created attachment 644669 [details]
CVE-2012-4560-Fix-a-write-one-past-the-end-of-buf.patch

Comment 7 Andreas Schneider 2012-11-14 16:43:58 UTC
Created attachment 644988 [details]
CVE-2012-4560-Fix-a-write-one-past-the-end-of-the-u-.patch

Comment 8 Andreas Schneider 2012-11-14 16:44:24 UTC
Created attachment 644990 [details]
CVE-2012-4560-Fix-a-write-one-past-the-end-of-buf.patch

Comment 9 Vincent Danen 2012-11-20 15:28:40 UTC
Fixed upstream:

http://www.libssh.org/2012/11/20/libssh-0-5-3-security-release/

Comment 10 Vincent Danen 2012-11-20 15:35:26 UTC
Created libssh tracking bugs for this issue

Affects: fedora-all [bug 878521]

Comment 11 Fedora Update System 2012-11-27 05:27:41 UTC
libssh-0.5.3-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2012-11-29 04:00:37 UTC
libssh-0.5.3-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2012-11-29 06:03:44 UTC
libssh-0.5.3-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2012-12-06 06:57:42 UTC
libssh-0.5.3-1.fc16 has been pushed to the Fedora 16 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.