p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de sm-crypto

Vulnérabilité publiée pour sm-crypto au cours des 30 derniers jours : 0. Dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 4

  1. CVE-2026-73567

    Critique · CVSS 9.1EPSS 0,44%Correctif disponible

    sm-crypto: Predictable SM2 key generation in Node.js: default RNG uses Math.random + wall clock

    sm-crypto provides JavaScript implementations of the Chinese cryptographic algorithms SM2, SM3, and SM4. Prior to 0.5.0, the default no-argument sm2.generateKeyPairHex() path in Node.js uses the module-wide SecureRandom instance in src/sm2/utils.js, supplied by [email protected], which seeds an ARC4 stream from Math.random() and new Date().getTime() because window.crypto.getRandomValues is unavailable even though globalThis.crypto exists. An attacker who can observe the process's Math.random() outputs and estimate the key-generation time can reconstruct the seed, recover generated SM2 private keys, and predict signing ephemeral scalars used to forge

    • Mettez à jour vers 0.5.0
    Publication Mise à jour
  2. CVE-2026-23966

    Critique · CVSS 9.1EPSS 0,23%Correctif disponible

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

    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.

    • Mettez à jour vers 0.3.14
    Publication Mise à jour
  3. CVE-2026-23965

    Élevée · CVSS 7.5EPSS 0,21%Correctif disponible

    sm-crypto Affected by Signature Forgery in SM2-DSA

    sm-crypto provides JavaScript implementations of the Chinese cryptographic algorithms SM2, SM3, and SM4. A signature forgery vulnerability exists in the SM2 signature verification logic of sm-crypto prior to version 0.4.0. Under default configurations, an attacker can forge valid signatures for arbitrary public keys. If the message space contains sufficient redundancy, the attacker can fix the prefix of the message associated with the forged signature to satisfy specific formatting requirements. Version 0.4.0 patches the issue.

    • Mettez à jour vers 0.4.0
    Publication Mise à jour
  4. CVE-2026-23967

    Élevée · CVSS 7.5EPSS 0,21%Correctif disponible

    sm-crypto Affected by Signature Malleability in SM2-DSA

    sm-crypto provides JavaScript implementations of the Chinese cryptographic algorithms SM2, SM3, and SM4. A signature malleability vulnerability exists in the SM2 signature verification logic of the sm-crypto library prior to version 0.3.14. An attacker can derive a new valid signature for a previously signed message from an existing signature. Version 0.3.14 patches the issue.

    • Mettez à jour vers 0.3.14
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →