Bug 738393 (CVE-2011-3323)

Summary: CVE-2011-3323 Quagga (ospf6d): Stack-based buffer overflow while decoding Link State Update packet with malformed Inter Area Prefix LSA
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: asersen, jskala, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20110926,reported=20110914,source=cert,cvss2=5.4/AV:A/AC:M/Au:N/C:P/I:P/A:P,rhel-4/quagga=affected,rhel-5/quagga=affected,rhel-6/quagga=affected,fedora-all/quagga=affected,cwe=CWE-121[auto]
Fixed In Version: quagga 0.99.19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-13 12:44:56 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 741343, 845163, 845526, 845528, 845529    
Bug Blocks: 738408    
Attachments:
Description Flags
Upstream CVE-2011-3323 patch for Quagga-v0.99.18 branch
none
Upstream CVE-2011-3323 patch for Quagga-master branch none

Description Jan Lieskovsky 2011-09-14 13:19:22 EDT
A stack-based buffer overflow flaw was found in the way the ospf6d daemon of the Quagga routing suite processed certain Link State Update packets with malformed Inter Area Prefix Link-State-Advertisement (LSA). A configured OSPF peer, could use this flaw to the master OSPF daemon (ospf6d) to crash, or, potentially execute arbitrary code with the privileges of the user running the ospf6d via specially-crafted OSPF Link State Update packet.
Comment 1 Jan Lieskovsky 2011-09-14 13:21:13 EDT
This issue affects the versions of the quagga package, as shipped with Red Hat Enterprise Linux 4, 5, and 6.

--

This issue affects the versions of the quagga package, as shipped with Fedora release of 14 and 15.
Comment 3 Jan Lieskovsky 2011-09-14 13:24:34 EDT
Created attachment 523207 [details]
Upstream CVE-2011-3323 patch for Quagga-v0.99.18 branch
Comment 4 Jan Lieskovsky 2011-09-14 13:25:21 EDT
Created attachment 523208 [details]
Upstream CVE-2011-3323 patch for Quagga-master branch
Comment 6 Jan Lieskovsky 2011-09-26 11:54:05 EDT
Public now via:
[1] https://www.cert.fi/en/reports/2011/vulnerability539178.html
Comment 7 Jan Lieskovsky 2011-09-26 12:06:17 EDT
Created quagga tracking bugs for this issue

Affects: fedora-all [bug 741343]
Comment 8 Fedora Update System 2011-10-18 18:15:40 EDT
quagga-0.99.20-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 9 Fedora Update System 2011-10-18 18:19:51 EDT
quagga-0.99.20-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 10 Fedora Update System 2011-10-19 00:39:33 EDT
quagga-0.99.20-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 11 Stefan Cornelius 2012-08-01 09:20:57 EDT
The buffer overflow is mitigated by FORTIFY_SOURCE on RHEL5 and 6.
Comment 16 errata-xmlrpc 2012-09-12 16:05:27 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:1259 https://rhn.redhat.com/errata/RHSA-2012-1259.html
Comment 17 errata-xmlrpc 2012-09-12 16:06:15 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2012:1258 https://rhn.redhat.com/errata/RHSA-2012-1258.html
Comment 18 Murray McAllister 2012-09-12 22:50:27 EDT
Acknowledgements:

Red Hat would like to thank CERT-FI for reporting this issue. CERT-FI acknowledges Riku Hietamäki, Tuomo Untinen and Jukka Taimisto of the Codenomicon CROSS project as the original reporters.