GitHub Advisoryadvisory · PyPI, Maven, NuGet, npm
GHSA-9wx7-jrvc-28mm Signature verification vulnerability in Stark Bank ecdsa libraries
HIGH
Official page ↗
- Ecosystem
- PyPI, Maven, NuGet, npm
- Packages
- starkbank-ecdsa, com.starkbank:ecdsa-java
- Severity
- High
- Weaknesses
- CWE-347
- Reviewed
- 2021-11-08
Affected packages
• PyPI starkbank-ecdsa: < 2.0.1 → fixed in 2.0.1
• Maven com.starkbank:ecdsa-java: >= 1.0.0, < 1.0.1 → fixed in 1.0.1
• NuGet starkbank-ecdsa: >= 1.3.1, < 1.3.2 → fixed in 1.3.2
• npm starkbank-ecdsa: >= 1.1.2, < 1.1.3 → fixed in 1.1.3
Description
An attacker can forge signatures on arbitrary messages that will verify for any public key. This may allow attackers to authenticate as any user within the Stark Bank platform, and bypass signature verification needed to perform operations on the platform, such as send payments and transfer funds. Additionally, the ability for attackers to forge signatures may impact other users and projects using these libraries in different and unforeseen ways.
Related
Weakness · CWE (1)
- CWE-347 Improper Verification of Cryptographic Signature weakness
References
- https://github.com/starkbank/ecdsa-python/commit/d136170666e9510eb63c2572551805807bd4c17f web
- https://github.com/starkbank/ecdsa-dotnet web
- https://github.com/starkbank/ecdsa-java web
- https://github.com/starkbank/ecdsa-node web
- https://github.com/starkbank/ecdsa-python package
- https://github.com/starkbank/ecdsa-python/compare/v2.0.0...v2.0.1 web
- https://github.com/starkbank/ecdsa-python/releases/tag/v2.0.1 web
- https://research.nccgroup.com/2021/11/08/technical-advisory-arbitrary-signature-forgery-in-stark-bank-ecdsa-libraries web