CVE-2022-23002

Point Compression/Decompression of NIST P-256 points with X coordinate of zero

Published Jul 29, 2022 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
When compressing or decompressing a point on the NIST P-256 elliptic curve with an X coordinate of zero, the resulting output is not properly reduced modulo the P-256 field prime and is invalid. The resulting output will cause an error when used in other operations. This may be leveraged by an attacker to cause an error scenario in applications which use the library, resulting in a limited denial of service for an individual user. The scope of impact cannot extend to other components.

Remediation

Vendor Solution

The vulnerability was addressed by fully reducing the output modulo the field prime. To get the latest version of the Sweet B library, update your local repository from https://github.com/westerndigitalcorporation/sweet-b

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-28113 When compressing or decompressing a point on the NIST P-256 elliptic curve with an X coordinate of zero, the resulting output is not properly reduced modulo the P-256 field prime and is invalid. The resulting output will cause an error when used in other operations. This may be leveraged by an attacker to cause an error scenario in applications which use the library, resulting in a limited denial of service for an individual user. The scope of impact cannot extend to other components.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
WDC PSIRT
Published
Updated
Aug 3, 2024, 3:28 AM
Reserved
Jan 10, 2022, 12:00 AM
Status
Modified
Published
Jul 29, 2022, 7:15 PM
Modified
Jun 17, 2026, 4:29 AM