CVE-2022-23004 Algorithm incorrectly returning error and Invalid unreduced value written to output buffer

Medium 5.3 Published Updated

An attacker can cause a limited denial of service for an individual user by triggering an error condition during NIST P-256 point multiplication with a zero X coordinate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-23004?

CVE-2022-23004 is a medium-severity denial of service vulnerability in Western Digital Sweet B Library, published on 29 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-682, CWE-707, CWE-703

Which versions are affected by CVE-2022-23004?

It affects 1 product.

Products include Westerndigital Sweet B.

How do I fix CVE-2022-23004?

No fix has been published for CVE-2022-23004 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-23004 being exploited?

There is no known exploitation of CVE-2022-23004 in the wild and no public exploit code.

Sources

Is CVE-2022-23004 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free