Stack-based buffer overflow in Cpdb-libs - CVE-2023-34095

 

Stack-based buffer overflow in Cpdb-libs - CVE-2023-34095

Published: July 5, 2023 / Updated: August 3, 2023


Vulnerability identifier: #VU78000
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-34095
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error caused by improper usage of the scanf(3) function. A remote attacker can pass specially crafted input to the application, trigger a stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Cpdb-libs
Ubuntu
libcpdb-libs-common1 (Ubuntu package)
libcpdb-libs-frontend1 (Ubuntu package)
libcpdb2 (Ubuntu package)
cpdb-libs-tools (Ubuntu package)
libcpdb-frontend2 (Ubuntu package)
libcpdb-libs-tools (Ubuntu package)

How to mitigate CVE-2023-34095

Install update from vendor's website.

Cpdb-libs - update to 2.0b5
libcpdb-libs-common1 (Ubuntu package) - addressed in versions 1.2.0-0ubuntu7.1, 1.2.0-0ubuntu8.1.22.04.1, 1.2.0-0ubuntu8.1.22.10.1
libcpdb-libs-frontend1 (Ubuntu package) - addressed in versions 1.2.0-0ubuntu7.1, 1.2.0-0ubuntu8.1.22.04.1, 1.2.0-0ubuntu8.1.22.10.1
libcpdb2 (Ubuntu package) - update to 2.0~b4-0ubuntu2.1
cpdb-libs-tools (Ubuntu package) - update to 2.0~b4-0ubuntu2.1
libcpdb-frontend2 (Ubuntu package) - update to 2.0~b4-0ubuntu2.1
libcpdb-libs-tools (Ubuntu package) - update to 2.0~b4-0ubuntu2.1

External References

Related Security Bulletins