Bug 811630 (CVE-2012-2091)

Summary: CVE-2012-2091 FlightGear: Stack-buffer overflow by retrieving crafted rotor name
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: fabrice
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20120320,reported=20120410,source=oss-security,cvss2=4.3/AV:N/AC:M/Au:N/C:N/I:N/A:P,fedora-all/FlightGear=affected,cwe=CWE-121[auto]
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-16 11:07:49 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 811634    
Bug Blocks:    

Description Jan Lieskovsky 2012-04-11 11:08:11 EDT
A potential out-of stack-based buffer bounds write flaw was reported:
[1] http://sourceforge.net/mailarchive/message.php?msg_id=29011989

in the way Flight Gear, the flight simulator, retrieved rotor name for certain rotor models. A remote attacker could provide a specially-crafted rotor model XML data file, which once opened by a local, unsuspecting user in FlightGear would lead to 'fgfs' executable crash.

CVE Request:
[2] http://www.openwall.com/lists/oss-security/2012/04/10/9

CVE Assignment:
[3] http://www.openwall.com/lists/oss-security/2012/04/10/13

Upstream patch:
None as of right now.

Note:
Report [1] mentions possibility of stack buffer overflow also in SimGear's:
simgear/simgear/simgear/io/sg_socket_udp.cxx:

line 101     int SGSocketUDP::read( char *buf, int length ) {
                .
                .
                .
line 108     if ( (result = sock.recv(buf, SG_IO_MAX_MSG_SIZE, 0)) >= 0 ) {

routine. Though I am not sure, how that one could be exploited remotely by the attacker, thus didn't include that use case here.
Comment 1 Jan Lieskovsky 2012-04-11 11:13:54 EDT
Created FlightGear tracking bugs for this issue

Affects: fedora-all [bug 811634]
Comment 2 Fedora Update System 2012-06-08 19:56:58 EDT
FlightGear-2.4.0-2.fc16, SimGear-2.4.0-4.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 3 Fedora Update System 2012-06-08 19:58:24 EDT
FlightGear-2.6.0-2.fc17, SimGear-2.6.0-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 4 Fedora Update System 2012-06-08 20:01:43 EDT
FlightGear-2.0.0-6.fc15, SimGear-2.0.0-6.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.