CVE-2023-2160: Modoboa Modoboa Has Weak Password Requirements Vulnerability
MODERATECVE-2023-2160 is a MODERATE (CVSS 6.3) modoboa has weak password requirements vulnerability (CWE-521: Weak Password Requirements) affecting Modoboa libraries in the PyPI ecosystem. The issue involves modoboa has weak password requirements. Remediation is available by upgrading affected packages to version 2.1.0.
CVE-2023-2160 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.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2023-2160
To remediate this vulnerability, upgrade all affected Modoboa 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 modoboa>=2.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show modoboa
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2023-2160, inspect your installed packages using pip:
pip show modoboa
Analyze the terminal output to locate any version of Modoboa in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.0), your application is affected.
Note: The pip show modoboa command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-521: Weak Password Requirements, where the product does not require that users should have strong passwords. In Modoboa, 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-2160 Affected Modoboa Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
modoboa
|
PyPI |
< 2.1.0
|
2.1.0
|
References
Frequently Asked Questions
What is CVE-2023-2160?
Which Modoboa versions are affected?
What version fixes CVE-2023-2160?
Is modoboa affected?
What is the CVSS score of CVE-2023-2160?
What CWE is associated with CVE-2023-2160?
How can I check PyPI dependencies for CVE-2023-2160?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9gxx-32p7-ff7m",
"modified" : "2024-09-30T20:47:28Z",
"published" : "2023-04-18T18:30:29Z",
"aliases" : [ "CVE-2023-2160" ],
"summary" : "Modoboa has Weak Password Requirements",
"details" : "Modoboa 2.0.5 and prior allows users to set unsafe passwords, such as `1` or `HACK`. This issue is fixed in commit 130257c96a2392ada795785a91178e656e27015c and is part of version 2.1.0.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "modoboa"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.0.5"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-2160"
}, {
"type" : "WEB",
"url" : "https://github.com/modoboa/modoboa/commit/130257c96a2392ada795785a91178e656e27015c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/modoboa/modoboa"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/modoboa/PYSEC-2023-34.yaml"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/54fb6d6a-6b39-45b6-b62a-930260ba484b"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-521" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-04-21T20:25:27Z",
"nvd_published_at" : "2023-04-18T16:15:09Z"
}
}