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 603051 Details for
Bug 738398
CVE-2011-3326 Quagga (ospfd): Denial of service by decoding Link State Update LSAs of unknown type
[?]
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]
Improved upstream patch
quagga-0.99.15-CVE-2011-3326.patch (text/plain), 2.28 KB, created by
Adam Tkac
on 2012-08-08 14:35:37 UTC
(
hide
)
Description:
Improved upstream patch
Filename:
MIME Type:
Creator:
Adam Tkac
Created:
2012-08-08 14:35:37 UTC
Size:
2.28 KB
patch
obsolete
>From 6b161fc12a15aba8824c84d1eb38e529aaf70769 Mon Sep 17 00:00:00 2001 >From: CROSS <info@codenomicon.com> >Date: Mon, 26 Sep 2011 13:17:21 +0400 >Subject: [PATCH] ospfd: CVE-2011-3326 (uknown LSA type segfault) > >This vulnerability (CERT-FI #514837) was reported by CROSS project. >They have also suggested a fix to the problem, which was found >acceptable. > >Quagga ospfd does not seem to handle unknown LSA types in a Link State >Update message correctly. If LSA type is something else than one >supported >by Quagga, the default handling of unknown types leads to an error. > >* ospf_flood.c > * ospf_flood(): check return value of ospf_lsa_install() >--- > ospfd/ospf_flood.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/ospfd/ospf_flood.c b/ospfd/ospf_flood.c >index 77f2e16..004ed1a 100644 >--- a/ospfd/ospf_flood.c >+++ b/ospfd/ospf_flood.c >@@ -319,7 +319,8 @@ ospf_flood (struct ospf *ospf, struct ospf_neighbor *nbr, > procedure cannot overwrite the newly installed LSA until > MinLSArrival seconds have elapsed. */ > >- new = ospf_lsa_install (ospf, nbr->oi, new); >+ if (! (new = ospf_lsa_install (ospf, nbr->oi, new))) >+ return 0; /* unknown LSA type */ > > /* Acknowledge the receipt of the LSA by sending a Link State > Acknowledgment packet back out the receiving interface. */ >-- >1.7.11.2 > >From 70e3ca2ccedca2cae58bd91c968714cad0f9d5d6 Mon Sep 17 00:00:00 2001 >From: Thomas Ries <tries@gmx.net> >Date: Thu, 27 Oct 2011 17:43:38 +0400 >Subject: [PATCH] ospfd: improve fix to CVE-2011-3326 (BZ#586) > >Make ospf_flood() propagate error returned by ospf_lsa_install() further >to properly discard the malformed LSA, not just prevent the immediate >crash. >--- > ospfd/ospf_flood.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/ospfd/ospf_flood.c b/ospfd/ospf_flood.c >index fc0bbf1..f72087b 100644 >--- a/ospfd/ospf_flood.c >+++ b/ospfd/ospf_flood.c >@@ -320,7 +320,7 @@ ospf_flood (struct ospf *ospf, struct ospf_neighbor *nbr, > MinLSArrival seconds have elapsed. */ > > if (! (new = ospf_lsa_install (ospf, nbr->oi, new))) >- return 0; /* unknown LSA type */ >+ return -1; /* unknown LSA type or any other error condition */ > > /* Acknowledge the receipt of the LSA by sending a Link State > Acknowledgment packet back out the receiving interface. */ >-- >1.7.11.2 >
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 738398
:
523213
| 603051