Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-pgx9-497m-6c4v

Опубликовано: 21 янв. 2026
Источник: github
Github: Прошло ревью
CVSS3: 9.1

Описание

sm-crypto Affected by Private Key Recovery in SM2-PKE

Summary

A private key recovery vulnerability exists in the SM2 decryption logic of sm-crypto. By interacting with the SM2 decryption interface multiple times, an attacker can fully recover the private key within approximately several hundred interactions.

Credit

This vulnerability was discovered by:

  • XlabAI Team of Tencent Xuanwu Lab
  • Atuin Automated Vulnerability Discovery Engine

Пакеты

Наименование

sm-crypto

npm
Затронутые версииВерсия исправления

< 0.3.14

0.3.14

EPSS

Процентиль: 1%
0.00007
Низкий

9.1 Critical

CVSS3

Дефекты

CWE-345

Связанные уязвимости

CVSS3: 9.1
nvd
16 дней назад

sm-crypto provides JavaScript implementations of the Chinese cryptographic algorithms SM2, SM3, and SM4. A private key recovery vulnerability exists in the SM2 decryption logic of sm-crypto prior to version 0.3.14. By interacting with the SM2 decryption interface multiple times, an attacker can fully recover the private key within approximately several hundred interactions. Version 0.3.14 patches the issue.

EPSS

Процентиль: 1%
0.00007
Низкий

9.1 Critical

CVSS3

Дефекты

CWE-345