CVE-2022-23002

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

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

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

Category

5.3
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.12%
Vendor Advisory westerndigital.com
Affected: Western Digital Sweet B Library
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-23002?
CVE-2022-23002 has been scored as a medium severity vulnerability.
How to fix CVE-2022-23002?
To fix CVE-2022-23002: 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
Is CVE-2022-23002 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-23002 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-23002?
CVE-2022-23002 affects Western Digital Sweet B Library.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.