CVE-2022-23002

Point Compression/Decompression of NIST P-256 points with X coordinate of zero

5.3 medium EPSS 0.79%

Published 29 Jul 2022 Updated 3 Aug 2024 CNA: WDC PSIRT

Description

When compressing or decompressing a point on the NIST P-256 elliptic curve with an X coordinate of zero, the resulting output is not properly reduced modulo the P-256 field prime and is invalid. The resulting output will cause an error when used in other operations. 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.

Severity (CVSS)

5.3 medium CVSS 3.1 from WDC PSIRT (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.79%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 53.0% of all scored CVEs. Scores of 30 Nov 2026.

Weakness

  • CWE-703 Improper Check or Handling of Exceptional Conditions

Affected products

As the CNA lists them.

ProductVersions
Sweet B Library
affected from Sweet B Library, before v2

Is my server affected?

This CVE is in Sweet B Library of Western Digital, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2022-23002 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.