Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-34095

9.8 · CRITICAL
Published Jun 14, 2023 openprinting CWE-121 EPSS 1.54% (73th pctl)

Overview

CVE-2023-34095 is a critical-severity vulnerability affecting openprinting cpdb-libs. It was published on June 14, 2023 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from openprinting. Update cpdb-libs to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
openprinting cpdb-libs >= 1.0, < 2.0 Affected

Frequently Asked Questions

What is CVE-2023-34095?

CVE-2023-34095 is a critical-severity vulnerability affecting openprinting cpdb-libs. It was published on June 14, 2023 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2023-34095?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2023-34095?

Check the references section for vendor advisories and patches from openprinting. Update cpdb-libs to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-34095?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-34095 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.