CVE-2019-14853 Duplicate Advisory: possible DoS caused by malformed signature decoding in Pure-Python ECDSA

Low 3.7 Published Updated

Attackers can cause a denial of service in applications using the python-ecdsa library by submitting malformed DER signatures that trigger unexpected exceptions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-14853?

CVE-2019-14853 is a low-severity denial of service vulnerability in [UNKNOWN] python-ecdsa, published on 26 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An error-handling flaw was found in python-ecdsa before version 0.13.3. During signature decoding, malformed DER signatures could raise unexpected exceptions (or no exceptions at all), which could lead to a denial of service.

Weakness: CWE-755, CWE-391

Which versions are affected by CVE-2019-14853?

5 open source packages ship an affected version, including ecdsa. It affects 1 product.

PackageAffectedFixed in
ecdsa PyPIAll versions0.13.3
ecdsa PyPIAll versions0.13.3
ecdsa PyPIAll versions0.13.3
ecdsa PyPIAll versions0.13.3
ecdsa PyPIAll versions0.13.3

Products include Python-Ecdsa Project Python-Ecdsa.

How do I fix CVE-2019-14853?

Upgrade ecdsa to 0.13.3 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2019-14853 being exploited?

There is no known exploitation of CVE-2019-14853 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2019-14853, GHSA-2mrj-435v-c2cr, GHSA-pwfw-mgfj-7g3g, PYSEC-2019-177, UBUNTU-CVE-2019-14853.

Is CVE-2019-14853 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free