CVE-2021-43572 Improper Verification of Cryptographic Signature in starkbank-ecdsa

Critical 9.8 Published Updated

Attackers can forge signatures on arbitrary messages due to missing non-zero checks in the Stark Bank Python ECDSA library.

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

What is CVE-2021-43572?

CVE-2021-43572 is a critical vulnerability in n/a, published on 9 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The verify function in the Stark Bank Python ECDSA library (aka starkbank-escada or ecdsa-python) before 2.0.1 fails to check that the signature is non-zero, which allows attackers to forge signatures on arbitrary messages.

Weakness: CWE-347

Which versions are affected by CVE-2021-43572?

3 open source packages ship an affected version, including starkbank-ecdsa. It affects 1 product.

PackageAffectedFixed in
starkbank-ecdsa PyPIAll versions2.0.1
starkbank-ecdsa PyPIAll versions2.0.1
starkbank-ecdsa PyPIAll versions2.0.1

Products include Starkbank Ecdsa-Python.

How do I fix CVE-2021-43572?

Upgrade starkbank-ecdsa to 2.0.1 or later.

Is CVE-2021-43572 being exploited?

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

Sources

Also known as GHSA-92vm-mxjf-jqf3, PYSEC-2021-426.

Is CVE-2021-43572 in your software?

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

Check your SBOMs for free