GHSA-2mrj-435v-c2cr: Duplicate Advisory Denial of Service Vulnerability
MODERATEGHSA-2mrj-435v-c2cr is a MODERATE denial of service vulnerability (General Security Weakness) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves possible dos caused by malformed signature decoding in pure-python ecdsa. Remediation is available by upgrading affected packages to version 0.13.3.
GHSA-2mrj-435v-c2cr at a Glance
How to Fix GHSA-2mrj-435v-c2cr
To remediate this vulnerability, upgrade all affected Duplicate Advisory 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 ecdsa>=0.13.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show ecdsa
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-2mrj-435v-c2cr, inspect your installed packages using pip:
pip show ecdsa
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.13.3), your application is affected.
Note: The pip show ecdsa command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Duplicate Advisory, 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-2mrj-435v-c2cr Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ecdsa
|
PyPI |
< 0.13.3
|
0.13.3
|
References
Frequently Asked Questions
What is GHSA-2mrj-435v-c2cr?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-2mrj-435v-c2cr?
Is ecdsa affected?
What CWE is associated with GHSA-2mrj-435v-c2cr?
How can I check PyPI dependencies for GHSA-2mrj-435v-c2cr?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2mrj-435v-c2cr",
"modified" : "2024-09-20T16:46:32Z",
"published" : "2019-12-02T18:15:31Z",
"withdrawn" : "2020-06-16T20:15:24Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: possible DoS caused by malformed signature decoding in Pure-Python ECDSA",
"details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-pwfw-mgfj-7g3g. This link is maintained to preserve external references.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "ecdsa"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.13.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-14853"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14853"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-2mrj-435v-c2cr"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-pwfw-mgfj-7g3g"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/ecdsa/PYSEC-2019-177.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/warner/python-ecdsa/releases/tag/python-ecdsa-0.13.3"
}, {
"type" : "WEB",
"url" : "https://seclists.org/bugtraq/2019/Dec/33"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2019/dsa-4588"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2019-12-02T01:15:50Z",
"nvd_published_at" : null
}
}