CVE-2025-40918

Vulnérabilité moyenne dans Authen::SASL::Perl::DIGEST_MD5 (EHUELS)

CVSS 6.5 · Moyenne
EPSS 0.5%
EHUELS•Authen::SASL::Perl::DIGEST_MD5•Versions : <=2.1800, 2.04

Description

Authen::SASL::Perl::DIGEST_MD5 versions 2.04 through 2.1800 for Perl generates the cnonce insecurely. The cnonce (client nonce) is generated from an MD5 hash of the PID, the epoch time and the built-in rand function. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand function is unsuitable for cryptographic usage. According to RFC 2831, The cnonce-value is an opaque quoted string value provided by the client and used by both client and server to avoid chosen plaintext attacks, and to provide mutual authentication. The security of the implementation depends on a good choice. It is RECOMMENDED that it contain at least 64 bits of entropy.

Gravité et risque d'exploitation

CVE-2025-40918 obtient un score CVSS de 6.5/10, soit une gravité moyenne. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.45 %, ce qui la place devant 37.9 % des CVE référencées.

Que faire ?

  • Vérifiez si Authen::SASL::Perl::DIGEST_MD5 (versions <=2.1800, 2.04) est présent sur votre parc.
  • Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
  • À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
  • Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.

Références