CVE-2022-23004

Algorithm incorrectly returning error and Invalid unreduced value written to output buffer

Description

When computing a shared secret or point multiplication on the NIST P-256 curve using a public key with an X coordinate of zero, an error is returned from the library, and an invalid unreduced value is written to the output buffer. This may be leveraged by an attacker to cause an error scenario, 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 improving the point-scalar multiplication algorithm to account for anomalous input and by ensuring that errors are returned from library routines before any output buffer is written. To get the latest version of the Sweet B library, update your local repository from https://github.com/westerndigitalcorporation/sweet-b

Categories

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-23004?
CVE-2022-23004 has been scored as a medium severity vulnerability.
How to fix CVE-2022-23004?
To fix CVE-2022-23004: The vulnerability was addressed by improving the point-scalar multiplication algorithm to account for anomalous input and by ensuring that errors are returned from library routines before any output buffer is written. To get the latest version of the Sweet B library, update your local repository from https://github.com/westerndigitalcorporation/sweet-b
Is CVE-2022-23004 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-23004 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-23004?
CVE-2022-23004 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.