{"id":"CVE-2022-23004","published":"2022-07-29T18:55:55Z","modified":"2024-08-03T03:28:42Z","title":"Algorithm incorrectly returning error and Invalid unreduced value written to output buffer","vendor":"Western Digital","product":"Sweet B Library","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0072,"percentile":0.54835,"provenance":"source"},"cwes":[{"id":"CWE-707","name":"Improper Neutralization"},{"id":"CWE-703","name":"Improper Check or Handling of Exceptional Conditions"}],"references":[{"url":"https://www.westerndigital.com/support/product-security/wdc-22013-sweet-b-incorrect-output-vulnerabilities","tags":["x_refsource_MISC"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":10.97},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"western-digital","affectedVersions":[{"vendor":"Western Digital","product":"Sweet B Library","versions":[">= Sweet B Library, < v2"]}],"solutions":{"items":["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"],"from":"CVE.org CNA","provenance":"source"},"euvd":{"id":"EUVD-2022-28115","exploited":false,"provenance":"source"}}