GHSA-56wv-2wr9-3h9r

Suggest an improvement
Source
https://github.com/advisories/GHSA-56wv-2wr9-3h9r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-56wv-2wr9-3h9r/GHSA-56wv-2wr9-3h9r.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-56wv-2wr9-3h9r
Aliases
Published
2021-10-12T16:30:37Z
Modified
2024-09-20T17:24:02.324069Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Improper Verification of Cryptographic Signature in fastecdsa
Details

An issue was discovered in fastecdsa before 2.1.2. When using the NIST P-256 curve in the ECDSA implementation, the point at infinity is mishandled. This means that for an extreme value in k and s<sup>-1</sup>, the signature verification fails even if the signature is correct. This behavior is not solely a usability problem. There are some threat models where an attacker can benefit by successfully guessing users for whom signature verification will fail.

Database specific
{
    "nvd_published_at": "2020-06-02T21:15:00Z",
    "cwe_ids": [
        "CWE-347"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-10-08T22:28:23Z"
}
References

Affected packages

PyPI / fastecdsa

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.2

Affected versions

1.*

1.0.0b1
1.0.1b1
1.0.1b2
1.0.1b3
1.0.1
1.0.2
1.0.3
1.1.0
1.1.1
1.1.2
1.1.3
1.2.1
1.3.1
1.3.2
1.4.1
1.4.2
1.4.3
1.5.1
1.5.2
1.6.1
1.6.2
1.6.3
1.6.4
1.6.5
1.7.0
1.7.1
1.7.2
1.7.3
1.7.4
1.7.5

2.*

2.0.0
2.1.0
2.1.1