Bug 888331 (CVE-2012-5645)

Summary: CVE-2012-5645 freeciv: DoS (memory exhaustion or excessive CPU consumption) via malformed network packets
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: gwync
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Freeciv 2.3.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-07 09:09:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 888333    
Bug Blocks:    

Description Jan Lieskovsky 2012-12-18 14:07:52 UTC
A denial of service flaw was found in the way the server component of Freeciv, a turn-based, multi-player, X based strategy game, processed certain packets (invalid packets with whole packet length lower than packet header size or syntactically valid packets, but whose processing would lead to an infinite loop). A remote attacker could send a specially-crafted packet that, when processed would lead to freeciv server to terminate (due to memory exhaustion) or become unresponsive (due to excessive CPU use).

References:
[1] http://aluigi.altervista.org/adv/freecivet-adv.txt
[2] https://bugs.gentoo.org/show_bug.cgi?id=447490
[3] http://freeciv.wikia.com/wiki/NEWS-2.3.3

Upstream bug report:
[4] http://gna.org/bugs/?20003

Relevant patch (against trunk):
[5] http://svn.gna.org/viewcvs/freeciv?view=revision&revision=21670

Comment 1 Jan Lieskovsky 2012-12-18 14:09:05 UTC
This issue affects the versions of the freeciv package, as shipped with Fedora release of 16 and 17. Please schedule an update.

Comment 2 Jan Lieskovsky 2012-12-18 14:09:38 UTC
Created freeciv tracking bugs for this issue

Affects: fedora-all [bug 888333]

Comment 3 Jan Lieskovsky 2012-12-18 14:45:25 UTC
CVE Request:
[6] http://www.openwall.com/lists/oss-security/2012/12/18/2

Comment 4 Jan Lieskovsky 2012-12-18 18:10:16 UTC
The CVE identifier of CVE-2012-5645 has been assigned to this issue:
http://www.openwall.com/lists/oss-security/2012/12/18/5

Comment 5 Fedora Update System 2013-01-05 06:47:25 UTC
freeciv-2.3.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 6 Fedora Update System 2013-01-05 06:48:58 UTC
freeciv-2.3.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.