CVE-2023-1000: Dcnnt Dcnnt-py Is Vulnerable To Command Vulnerability
MODERATECVE-2023-1000 is a MODERATE (CVSS 6.3) dcnnt-py is vulnerable to command vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Dcnnt libraries in the PyPI ecosystem. The issue involves dcnnt-py is vulnerable to command injection via notification handler. Remediation is available by upgrading affected packages to version 0.9.1.
CVE-2023-1000 at a Glance
Security Impact
CVSS: 6.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2023-1000
To remediate this vulnerability, upgrade all affected Dcnnt 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 dcnnt>=0.9.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show dcnnt
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2023-1000, inspect your installed packages using pip:
pip show dcnnt
Analyze the terminal output to locate any version of Dcnnt in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.1), your application is affected.
Note: The pip show dcnnt command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where the product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. In Dcnnt, 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
CVE-2023-1000 Affected Dcnnt Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
dcnnt
|
PyPI |
< 0.9.1
|
0.9.1
|
References
Frequently Asked Questions
What is CVE-2023-1000?
Which Dcnnt versions are affected?
What version fixes CVE-2023-1000?
Is dcnnt affected?
What is the CVSS score of CVE-2023-1000?
What CWE is associated with CVE-2023-1000?
How can I check PyPI dependencies for CVE-2023-1000?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8p42-7597-p2f6",
"modified" : "2024-04-30T08:26:21Z",
"published" : "2024-04-27T09:30:33Z",
"aliases" : [ "CVE-2023-1000" ],
"summary" : "dcnnt-py is vulnerable to command injection via Notification Handler",
"details" : "A vulnerability was found in cyanomiko dcnnt-py up to 0.9.0. It has been classified as critical. Affected is the function main of the file dcnnt/plugins/notifications.py of the component Notification Handler. The manipulation leads to command injection. It is possible to launch the attack remotely. Upgrading to version 0.9.1 is able to address this issue. The patch is identified as b4021d784a97e25151a5353aa763a741e9a148f5. It is recommended to upgrade the affected component. VDB-262230 is the identifier assigned to this vulnerability.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "dcnnt"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.9.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.9.0"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-1000"
}, {
"type" : "WEB",
"url" : "https://github.com/cyanomiko/dcnnt-py/pull/23"
}, {
"type" : "WEB",
"url" : "https://github.com/cyanomiko/dcnnt-py/commit/b4021d784a97e25151a5353aa763a741e9a148f5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cyanomiko/dcnnt-py"
}, {
"type" : "WEB",
"url" : "https://github.com/cyanomiko/dcnnt-py/releases/tag/0.9.1"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.262230"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.262230"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-77" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-30T08:26:21Z",
"nvd_published_at" : "2024-04-27T09:15:08Z"
}
}