GLSA 202003-31: gdb: Buffer overflow

Severity:normal
Title:gdb: Buffer overflow
Date:03/15/2020
Bugs: #690582
ID:202003-31

Synopsis

A buffer overflow in gdb might allow a remote attacker to cause a Denial of Service condition.

Background

gdb is the GNU project’s debugger, facilitating the analysis and debugging of applications. The BFD library provides a uniform method of accessing a variety of object file formats.

Affected packages

Package Vulnerable Unaffected Architecture(s)
sys-devel/gdb < 9.1 >= 9.1 All supported architectures

Description

It was discovered that gdb didn’t properly validate the ELF section sizes from input file.

Impact

A remote attacker could entice a user to open a specially crafted ELF binary using gdb, possibly resulting in information disclosure or a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All gdb users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=sys-devel/gdb-9.1"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202003-31.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!