Ubuntu update for gdb



Published: 2024-06-20
Risk Medium
Patch available YES
Number of vulnerabilities 6
CVE-ID CVE-2020-16599
CVE-2022-4285
CVE-2023-1972
CVE-2023-39128
CVE-2023-39129
CVE-2023-39130
CWE-ID CWE-476
CWE-122
CWE-121
CWE-416
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

gdbserver (Ubuntu package)
Operating systems & Components / Operating system package or component

gdb (Ubuntu package)
Operating systems & Components / Operating system package or component

Ubuntu security updates mailing list (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 6 vulnerabilities.

1) NULL pointer dereference

EUVDB-ID: #VU79354

Risk: Low

CVSSv3.1: 4.8 [CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-16599

CWE-ID: CWE-476 - NULL Pointer Dereference

Exploit availability: No

Description

The vulnerability allows a local attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error in _bfd_elf_get_symbol_version_string. A local attacker can trick the victim into opening a specially crafted file and perform a denial of service (DoS) attack.

Mitigation

Update the affected package gdb to the latest version.

Vulnerable software versions

Ubuntu: 16.04 - 22.04

gdbserver (Ubuntu package): before Ubuntu Pro

gdb (Ubuntu package): before Ubuntu Pro

Ubuntu security updates mailing list (Ubuntu package): before Security announcements mailing list

External links

http://ubuntu.com/security/notices/USN-6842-1


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) NULL pointer dereference

EUVDB-ID: #VU76453

Risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-4285

CWE-ID: CWE-476 - NULL Pointer Dereference

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error when parsing an ELF file containing corrupt symbol version information. A remote attacker can pass a specially crafted file to the application and perform a denial of service (DoS) attack.

Mitigation

Update the affected package gdb to the latest version.

Vulnerable software versions

Ubuntu: 16.04 - 22.04

gdbserver (Ubuntu package): before Ubuntu Pro

gdb (Ubuntu package): before Ubuntu Pro

Ubuntu security updates mailing list (Ubuntu package): before Security announcements mailing list

External links

http://ubuntu.com/security/notices/USN-6842-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Heap-based buffer overflow

EUVDB-ID: #VU76486

Risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-1972

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error within the _bfd_elf_slurp_version_tables() function in bfd/elf.c. A remote attacker can pass specially crafted file to the application, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.

Mitigation

Update the affected package gdb to the latest version.

Vulnerable software versions

Ubuntu: 16.04 - 22.04

gdbserver (Ubuntu package): before Ubuntu Pro

gdb (Ubuntu package): before Ubuntu Pro

Ubuntu security updates mailing list (Ubuntu package): before Security announcements mailing list

External links

http://ubuntu.com/security/notices/USN-6842-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

4) Stack-based buffer overflow

EUVDB-ID: #VU85875

Risk: Low

CVSSv3.1: 2.7 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-39128

CWE-ID: CWE-121 - Stack-based buffer overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error within the ada_decode() function in /gdb/ada-lang.c. A remote attacker can trick the victim to run the debugger on a specially crafted file, trigger a stack-based buffer overflow and perform a denial of service (DoS) attack.

Mitigation

Update the affected package gdb to the latest version.

Vulnerable software versions

Ubuntu: 16.04 - 22.04

gdbserver (Ubuntu package): before Ubuntu Pro

gdb (Ubuntu package): before Ubuntu Pro

Ubuntu security updates mailing list (Ubuntu package): before Security announcements mailing list

External links

http://ubuntu.com/security/notices/USN-6842-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

5) Use-after-free

EUVDB-ID: #VU85873

Risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-39129

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a use-after-free error within the add_pe_exported_sym() function in /gdb/coff-pe-read.c. A remote attacker can trick the victim to call the application on a psecially crafted file and perform a denial of service (DoS) attack.

Mitigation

Update the affected package gdb to the latest version.

Vulnerable software versions

Ubuntu: 16.04 - 22.04

gdbserver (Ubuntu package): before Ubuntu Pro

gdb (Ubuntu package): before Ubuntu Pro

Ubuntu security updates mailing list (Ubuntu package): before Security announcements mailing list

External links

http://ubuntu.com/security/notices/USN-6842-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

6) Heap-based buffer overflow

EUVDB-ID: #VU85876

Risk: Low

CVSSv3.1: 2.7 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-39130

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error within the pe_as16() function in /gdb/coff-pe-read.c. A remote attacker can trick the victim to run the debugger on a specially crafted file, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.

Mitigation

Update the affected package gdb to the latest version.

Vulnerable software versions

Ubuntu: 16.04 - 22.04

gdbserver (Ubuntu package): before Ubuntu Pro

gdb (Ubuntu package): before Ubuntu Pro

Ubuntu security updates mailing list (Ubuntu package): before Security announcements mailing list

External links

http://ubuntu.com/security/notices/USN-6842-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###