Vulnerabilities

1 via 2 paths

Dependencies

127

Source

GitHub

Commit

603103ec

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

medium severity
new

Use of a Cryptographic Primitive with a Risky Implementation

  • Vulnerable module: elliptic
  • Introduced through: crypto-browserify@3.12.1

Detailed paths

  • Introduced through: nostr-crypto-utils@HumanjavaEnterprises/nostr-crypto-utils#603103ec288d09ee493ea238f9da46e889d38911 crypto-browserify@3.12.1 browserify-sign@4.2.5 elliptic@6.6.1
  • Introduced through: nostr-crypto-utils@HumanjavaEnterprises/nostr-crypto-utils#603103ec288d09ee493ea238f9da46e889d38911 crypto-browserify@3.12.1 create-ecdh@4.0.4 elliptic@6.6.1

Overview

elliptic is a fast elliptic-curve cryptography implementation in plain javascript.

Affected versions of this package are vulnerable to Use of a Cryptographic Primitive with a Risky Implementation due to the incorrect computation of the byte-length of k value with leading zeros resulting in its truncation. An attacker can obtain the secret key by analyzing both a faulty signature generated by a vulnerable implementation and a correct signature for the same inputs.

Note:

There is a distinct but related issue CVE-2024-48948.

Remediation

There is no fixed version for elliptic.

References