Bug 802781 (CVE-2012-0255)

Summary: CVE-2012-0255 quagga (bgpd): Assertion failure by processing malformed AS4 capability in BGP OPEN message
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: jskala, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20120328,reported=20120313,source=cert,cvss2=2.9/AV:A/AC:M/Au:N/C:N/I:N/A:P,rhel-5/quagga=notaffected,rhel-6/quagga=affected,fedora-all/quagga=affected
Fixed In Version: quagga 0.99.20.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-13 08:09:12 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On: 808357, 845528, 845529    
Bug Blocks: 738408    

Description Jan Lieskovsky 2012-03-13 09:48:01 EDT
An assertion failure was found in the way Quagga's bgpd daemon processed certain BGP OPEN messages. A configured BGP peer could send a BGP OPEN message with specially-crafted value of AS4 capability field, which would cause the master BGP daemon (bgpd) to abort (denial of service).

Upstream patch:
[1] http://git.savannah.gnu.org/cgit/quagga.git/commit/?id=5861739f8c38bc36ea9955e5cb2be2bf2f482d70
Comment 7 Jan Lieskovsky 2012-03-15 09:45:44 EDT
This issue did NOT affect the version of the quagga package, as shipped with Red Hat Enterprise Linux 5.

--

This issue affects the version of the quagga package, as shipped with Red Hat Enterprise Linux 6.

--

This issue affects the versions of the quagga package, as shipped with Fedora release of 15 and 16.
Comment 8 Jan Lieskovsky 2012-03-16 08:57:01 EDT
The CVE identifier of CVE-2012-0255 has been assigned to this issue.
Comment 9 Jan Lieskovsky 2012-03-30 04:57:06 EDT
Public via:
http://www.kb.cert.org/vuls/id/551715
Comment 10 Jan Lieskovsky 2012-03-30 04:59:00 EDT
Created quagga tracking bugs for this issue

Affects: fedora-all [bug 808357]
Comment 11 Fedora Update System 2012-04-19 23:07:17 EDT
quagga-0.99.20.1-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 12 Fedora Update System 2012-04-21 23:43:39 EDT
quagga-0.99.20.1-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 13 Fedora Update System 2012-04-21 23:48:37 EDT
quagga-0.99.20.1-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 15 errata-xmlrpc 2012-09-12 16:05:48 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 16 Murray McAllister 2012-09-12 22:55:37 EDT
Acknowledgements:

Red Hat would like to thank the CERT/CC for reporting this issue. The CERT/CC acknowledges Martin Winter at OpenSourceRouting.org as the original reporter.