Skip to content

ecdh vulnerable to Exposure of Resource to Wrong Sphere

High severity GitHub Reviewed Published Feb 24, 2023 to the GitHub Advisory Database • Updated Mar 8, 2023

Package

npm ecdh (npm)

Affected versions

< 0.2.0

Patched versions

0.2.0

Description

In Development IL ecdh before 0.2.0, an attacker can send an invalid point (not on the curve) as the public key, and obtain the derived shared secret.

References

Published by the National Vulnerability Database Feb 24, 2023
Published to the GitHub Advisory Database Feb 24, 2023
Last updated Mar 8, 2023
Reviewed Mar 8, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses

CVE ID

CVE-2022-44310

GHSA ID

GHSA-p2hp-3wv3-4w74

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.