Improper Input Validation Affecting @lionello/secp256k1-js package, versions <1.1.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-LIONELLOSECP256K1JS-3032992
  • published25 Sept 2022
  • disclosed25 Sept 2022
  • creditshilohshi

Introduced: 25 Sep 2022

CVE-2022-41340  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade @lionello/secp256k1-js to version 1.1.0 or higher.

Overview

@lionello/secp256k1-js is a Pure JS implementation of secp256k1 signing, verification, recovery ECDSA.

Affected versions of this package are vulnerable to Improper Input Validation. It implements ECDSA without required r and s validation, leading to signature forgery.

CVSS Base Scores

version 3.1