Vulnerabilities in pkg:pypi/c2cciutils

PACKAGE
Advisory Summary

GHSA-qc22-xmq4-qg46 is a MODERATE c2cciutils affected by cve-2022-40896 vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting C2cciutils libraries in the PyPI ecosystem. The issue involves c2cciutils affected by cve-2022-40896. Remediation is available by upgrading affected packages to version 1.1.67.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/c2cciutils

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/c2cciutils. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-qc22-xmq4-qg46 - MODERATE c2cciutils affected by CVE-2022-40896
GHSA-wcjx-v2wj-xg87 - HIGH C2C CI utils is vulnerable to DoS via pyasn dependency (CVE-2026-30922)

GHSA-qc22-xmq4-qg46 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-qc22-xmq4-qg46
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-434: Unrestricted Upload of File with Dangerous Type
Affected Product C2cciutils
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix GHSA-qc22-xmq4-qg46

To remediate this vulnerability, upgrade all affected C2cciutils dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

c2cciutils fixed: 1.1.67
pip install c2cciutils>=1.1.67
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show c2cciutils

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-qc22-xmq4-qg46, inspect your installed packages using pip:

pip show c2cciutils

Analyze the terminal output to locate any version of C2cciutils in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.67), your application is affected.

Note: The pip show c2cciutils command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-434: Unrestricted Upload of File with Dangerous Type, where the product allows the upload or transfer of dangerous file types that are automatically processed within its environment. In C2cciutils, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Pinned vulnerable version of Pygment [CVE-2022-40896](https://nvd.nist.gov/vuln/detail/CVE-2022-40896)

GHSA-qc22-xmq4-qg46 Affected C2cciutils Versions

1 component(s)
Fixed Versions:
1.1.67
Product / Package Ecosystem Affected Versions Fixed Version
c2cciutils
PyPI
< 1.1.67
1.1.67

References

Frequently Asked Questions

What is GHSA-qc22-xmq4-qg46?
GHSA-qc22-xmq4-qg46 is a security vulnerability in C2cciutils involving c2cciutils affected by CVE-2022-40896 under CWE-434: Unrestricted Upload of File with Dangerous Type.
Which C2cciutils versions are affected?
Affected versions include releases prior to 1.1.67 across affected packages: c2cciutils.
What version fixes GHSA-qc22-xmq4-qg46?
Upgrading to 1.1.67 (or the latest patched release for your respective branch) resolves the vulnerability.
Is c2cciutils affected?
Yes, c2cciutils is affected in releases prior to 1.1.67. Upgrade your dependency to 1.1.67 or later.
What CWE is associated with GHSA-qc22-xmq4-qg46?
GHSA-qc22-xmq4-qg46 is classified under CWE-434: Unrestricted Upload of File with Dangerous Type (The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.).
How can I check PyPI dependencies for GHSA-qc22-xmq4-qg46?
Run the dependency tree command: 'pip show c2cciutils'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-qc22-xmq4-qg46",
  "modified" : "2026-04-01T20:47:06Z",
  "published" : "2026-04-01T20:47:06Z",
  "aliases" : [ ],
  "summary" : "c2cciutils affected by CVE-2022-40896 ",
  "details" : "Pinned vulnerable version of Pygment [CVE-2022-40896](https://nvd.nist.gov/vuln/detail/CVE-2022-40896)",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "c2cciutils"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.67"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.1.66"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/camptocamp/c2cciutils/security/advisories/GHSA-qc22-xmq4-qg46"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/camptocamp/c2cciutils/commit/9d54eab73fcf24d492b339137040400da7ef4076"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-mrwq-x4v8-fh7p"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/camptocamp/c2cciutils"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-434" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-01T20:47:06Z",
    "nvd_published_at" : null
  }
}