CVE-2022-23001

Sweet-B Library: Point compress/decompress using the wrong bit for sign

Description

When compressing or decompressing elliptic curve points using the Sweet B library, an incorrect choice of sign bit is used. An attacker with user level privileges and no other user's assistance can exploit this vulnerability with only knowledge of the public key and the library. The resulting output may cause an error when used in other operations; for instance, verification of a valid signature under a decompressed public key may fail. 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 correcting the choice of sign bit in the affected routines. 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-23001?
CVE-2022-23001 has been scored as a medium severity vulnerability.
How to fix CVE-2022-23001?
To fix CVE-2022-23001: The vulnerability was addressed by correcting the choice of sign bit in the affected routines. To get the latest version of the Sweet B library, update your local repository from https://github.com/westerndigitalcorporation/sweet-b
Is CVE-2022-23001 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-23001 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-23001?
CVE-2022-23001 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.