CVE-2022-23004

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

Published Jul 29, 2022 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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

Vendor 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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-28115 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.
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