CVE-2022-23001

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

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

Vendor 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

Tracking

Sign in to view the affected projects.

Advisories

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