Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-23001

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-23001
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:12 UTC · Revision 1

Source evidence

CVE-2022-23001

core-osv · Original source

Published 29 Jul 2022, 19:15 UTC

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.

osv:CVE-2022-23001
Complete source record
{
  "id": "2d507050dca1a358f4ddf06a4f9f0150cf923b6845dbaabbb23a75815544a675",
  "url": "https://osv.dev/vulnerability/CVE-2022-23001",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-23001",
    "summary": "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.",
    "evidence": "osv:CVE-2022-23001",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-23001",
      "aliases": [
        "CVE-2022-23001"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/westerndigitalcorporation/sweet-b",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fc62093717722ba9817d331d830b95001542308a"
                },
                {
                  "last_affected": "fc62093717722ba9817d331d830b95001542308a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:westerndigital:sweet_b:1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1"
                      },
                      {
                        "last_affected": "1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1",
            "v1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23001.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:36.382489817Z",
      "provider": "osv",
      "references": [
        "https://www.westerndigital.com/support/product-security/wdc-22013-sweet-b-incorrect-output-vulnerabilities"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2022-23001",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 434041,
  "published_at": "2022-07-29T19:15:08.123+00:00"
}