CVE-2022-23004

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

5.3 medium EPSS 0.74%

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

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.

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.74%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 55.7% of all scored CVEs. Scores of 1 Dec 2026.

Weakness

  • CWE-703 Improper Check or Handling of Exceptional Conditions
  • CWE-707 Improper Neutralization

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