oss-sec mailing list archives

Re: Freeciv < 2.6.7, freeciv-3.0 < 3.0.3, Modpack Installer buffer overflow


From: Salvatore Bonaccorso <carnil () debian org>
Date: Wed, 31 Aug 2022 08:25:04 +0200

Hi,

On Fri, Aug 05, 2022 at 02:17:51AM +0300, Marko Lindqvist wrote:
 Just released freeciv-2.6.7 & freeciv-3.0.3 fix buffer overflow in
Modpack Installer utility's handling of the modpack URL. Specially
crafted URLs, without any '/' -characters would result in an
underflowing length (unsigned)(-1) string copy, i.e., all of the
NULL-terminated string given as "URL" would get written beyond the
buffer reserved for it.

 Freeciv source tarballs are available from
https://www.freeciv.org/download.html for current 3.0, and from
https://www.freeciv.org/wiki/Old_downloads for 2.6.

 In case you can't make full version update at the moment, bug tracker
ticket has also a patch for this single issue attached:
https://osdn.net/projects/freeciv/ticket/45299

FTR, this has CVE-2022-39047 assigned:

https://www.cve.org/CVERecord?id=CVE-2022-39047

Regards,
Salvatore


Current thread: