gdb: CVE-2017-9778: Fail to detect invalid FDE header, can exhaust gdb process's virtual memory and terminate debug session

Related Vulnerabilities: CVE-2017-9778  

Debian Bug report logs - #865607
gdb: CVE-2017-9778: Fail to detect invalid FDE header, can exhaust gdb process's virtual memory and terminate debug session

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Fri, 23 Jun 2017 05:03:01 UTC

Severity: normal

Tags: fixed-upstream, security, upstream

Found in version gdb/7.7.1+dfsg-1

Forwarded to https://sourceware.org/bugzilla/show_bug.cgi?id=21600

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, secure-testing-team@lists.alioth.debian.org, team@security.debian.org, secure-testing-team@lists.alioth.debian.org, Héctor Orón Martínez <zumbi@debian.org>:
Bug#865607; Package src:gdb. (Fri, 23 Jun 2017 05:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, secure-testing-team@lists.alioth.debian.org, team@security.debian.org, secure-testing-team@lists.alioth.debian.org, Héctor Orón Martínez <zumbi@debian.org>. (Fri, 23 Jun 2017 05:03:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gdb: CVE-2017-9778: Fail to detect invalid FDE header, can exhaust gdb process's virtual memory and terminate debug session
Date: Fri, 23 Jun 2017 06:59:55 +0200
Source: gdb
Version: 7.7.1+dfsg-1
Severity: normal
Tags: security upstream
Forwarded: https://sourceware.org/bugzilla/show_bug.cgi?id=21600

Hi,

the following vulnerability was published for gdb, filling a bug to
track the issue and the fix status.

CVE-2017-9778[0]:
| GNU Debugger (GDB) 8.0 and earlier fails to detect a negative length
| field in a DWARF section. A malformed section in an ELF binary or a
| core file can cause GDB to repeatedly allocate memory until a process
| limit is reached. This can, for example, impede efforts to analyze
| malware with GDB.

If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2017-9778
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9778

Regards,
Salvatore



Added tag(s) fixed-upstream. Request was from debian-bts-link@lists.debian.org to control@bugs.debian.org. (Thu, 25 Apr 2019 19:30:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Héctor Orón Martínez <zumbi@debian.org>:
Bug#865607; Package src:gdb. (Thu, 25 Apr 2019 20:18:04 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
Extra info received and forwarded to list. Copy sent to Héctor Orón Martínez <zumbi@debian.org>. (Thu, 25 Apr 2019 20:18:05 GMT) (full text, mbox, link).


Message #12 received at 865607@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: 865607@bugs.debian.org
Subject: Re: Bug#865607: gdb: CVE-2017-9778: Fail to detect invalid FDE header, can exhaust gdb process's virtual memory and terminate debug session
Date: Thu, 25 Apr 2019 22:16:25 +0200
Control: tags -1 + fixed-upstream

Hi,

https://sourceware.org/bugzilla/show_bug.cgi?id=21600#c11 references
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=723adb650a31859d7cc45832cb8adca0206455ed
as the commit adressing this issue.

Regards,
Salvatore



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jun 19 13:30:46 2019; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.