GHSA-qc22-xmq4-qg46: C2cciutils C2cciutils Affected By CVE-2022-40896 Vulnerability
MODERATEGHSA-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.
GHSA-qc22-xmq4-qg46 at a Glance
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.
pip install c2cciutils>=1.1.67
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
GHSA-qc22-xmq4-qg46 Affected C2cciutils Versions
1 component(s)| 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?
Which C2cciutils versions are affected?
What version fixes GHSA-qc22-xmq4-qg46?
Is c2cciutils affected?
What CWE is associated with GHSA-qc22-xmq4-qg46?
How can I check PyPI dependencies for GHSA-qc22-xmq4-qg46?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}