Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-23002

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.

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

Source evidence

CVE-2022-23002

core-osv · Original source

Published 29 Jul 2022, 19:15 UTC

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.

osv:CVE-2022-23002
Complete source record
{
  "id": "7eedb1b3f238efb99004834f7cbedf2e640d4e847c32d6872d246c22177ead52",
  "url": "https://osv.dev/vulnerability/CVE-2022-23002",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-23002",
    "summary": "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.",
    "evidence": "osv:CVE-2022-23002",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-23002",
      "aliases": [
        "CVE-2022-23002"
      ],
      "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-23002.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:23.869845933Z",
      "provider": "osv",
      "references": [
        "https://www.westerndigital.com/support/product-security/wdc-22013-sweet-b-incorrect-output-vulnerabilities"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2022-23002",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 431024,
  "published_at": "2022-07-29T19:15:08.21+00:00"
}