CVE-2023-34095 Vulnerability Analysis & Exploit Details

CVE-2023-34095
Vulnerability Scoring

9.8
/10
Critical Risk

As a catastrophic security flaw, CVE-2023-34095 has severe implications, demanding immediate intervention.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: None
    No privileges are required for exploitation.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2023-34095 Details

Status: Modified

Last updated: 🕔 13 Feb 2025, 17:16 UTC
Originally published on: 🕔 14 Jun 2023, 17:15 UTC

Time between publication and last update: 610 days

CVSS Release: version 3

CVSS3 Source

security-advisories@github.com

CVSS3 Type

Secondary

CVSS3 Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVE-2023-34095 Vulnerability Summary

CVE-2023-34095: 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.

Assessing the Risk of CVE-2023-34095

Access Complexity Graph

The exploitability of CVE-2023-34095 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2023-34095

With low attack complexity and no required privileges, CVE-2023-34095 is an easy target for cybercriminals. Organizations should prioritize immediate mitigation measures to prevent unauthorized access and data breaches.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2023-34095, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2023-34095, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2023-34095 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: High
    CVE-2023-34095 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: High
    CVE-2023-34095 can disrupt system operations, potentially causing complete denial of service (DoS).

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 1.442% (probability of exploit)

EPSS Percentile: 86.75% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 13.25% of others.

CVE-2023-34095 References

External References

CWE Common Weakness Enumeration

CWE-121

Vulnerable Configurations

  • cpe:2.3:a:openprinting:cpdb-libs:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:openprinting:cpdb-libs:1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:openprinting:cpdb-libs:1.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:openprinting:cpdb-libs:1.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:openprinting:cpdb-libs:1.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:openprinting:cpdb-libs:1.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:openprinting:cpdb-libs:1.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:openprinting:cpdb-libs:1.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:openprinting:cpdb-libs:1.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:openprinting:cpdb-libs:1.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:openprinting:cpdb-libs:2.0:beta1:*:*:*:*:*:*
    cpe:2.3:a:openprinting:cpdb-libs:2.0:beta1:*:*:*:*:*:*
  • cpe:2.3:a:openprinting:cpdb-libs:2.0:beta2:*:*:*:*:*:*
    cpe:2.3:a:openprinting:cpdb-libs:2.0:beta2:*:*:*:*:*:*
  • cpe:2.3:a:openprinting:cpdb-libs:2.0:beta3:*:*:*:*:*:*
    cpe:2.3:a:openprinting:cpdb-libs:2.0:beta3:*:*:*:*:*:*
  • cpe:2.3:a:openprinting:cpdb-libs:2.0:beta4:*:*:*:*:*:*
    cpe:2.3:a:openprinting:cpdb-libs:2.0:beta4:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2023-34095: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2024-43107 – Improper Certificate Validation (CWE-295) in the Gallagher Milestone Integration Plugin (MIP) permits unauthenticated messages (e.g. alarm events) ...
  • CVE-2024-41724 – Improper Certificate Validation (CWE-295) in the Gallagher Command Centre SALTO integration allowed an attacker to spoof the SALTO server. Thi...
  • CVE-2025-2133 – A vulnerability classified as problematic was found in ftcms 2.1. Affected by this vulnerability is an unknown functionality of the file /admin/ind...
  • CVE-2025-2132 – A vulnerability classified as critical has been found in ftcms 2.1. Affected is an unknown function of the file /admin/index.php/web/ajax_all_lists...
  • CVE-2025-2131 – A vulnerability was found in dayrui XunRuiCMS up to 4.6.3. It has been rated as problematic. This issue affects some unknown processing of the comp...