Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2023-34095— cpdb-libs vulnerable to buffer overflows via scanf

Quick assessment

Affected
OpenPrinting cpdb-libs
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

cpdb-libs是OpenPrinting开源的一个通用打印对话框的前端和后端库。 cpdb-libs 1.0至2.0b4版本存在安全漏洞,该漏洞源于没有正确使用scanf()导致缓冲区溢出。

CVSS 9.8 · Critical EPSS 1.54% · P73

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-34095

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
cpdb-libs vulnerable to buffer overflows via scanf
Source: CVE Program / CVE List V5
Vulnerability Description
cpdb-libs provides frontend and backend libraries for the Common Printing Dialog Backends (CPDB) project. In versions 1.0 through 2.0b4, cpdb-libs is vulnerable to buffer overflows via improper use of `scanf(3)`. cpdb-libs uses the `fscanf()` and `scanf()` functions to parse command lines and configuration files, dropping the read string components into fixed-length buffers, but does not limit the length of the strings to be read by `fscanf()` and `scanf()` causing buffer overflows when a string is longer than 1023 characters. A patch for this issue is available at commit f181bd1f14757c2ae0f17cc76dc20421a40f30b7. As all buffers have a length of 1024 characters, the patch limits the maximum string length to be read to 1023 by replacing all occurrences of `%s` with `%1023s` in all calls of the `fscanf()` and `scanf()` functions.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
栈缓冲区溢出
Source: CVE Program / CVE List V5
Vulnerability Title
cpdb-libs 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
cpdb-libs是OpenPrinting开源的一个通用打印对话框的前端和后端库。 cpdb-libs 1.0至2.0b4版本存在安全漏洞,该漏洞源于没有正确使用scanf()导致缓冲区溢出。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
OpenPrinting cpdb-libs >= 1.0, <= 2.0b4 -

II. Public POCs for CVE-2023-34095

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-34095

登录查看更多情报信息。

Patches & Fixes for CVE-2023-34095 (1)

Vendor Advisories for CVE-2023-34095 (1)

Mailing List Discussions for CVE-2023-34095 (1)

Other References for CVE-2023-34095 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2023-34095

No comments yet


Leave a comment