p PatchFirst

CVE-2021-3634

CVE-2021-3634

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

A flaw has been found in libssh in versions prior to 0.9.6. The SSH protocol keeps track of two shared secrets during the lifetime of the session. One of them is called secret_hash and the other session_id. Initially, both of them are the same, but after key re-exchange, previous session_id is kept and used as an input to new secret_hash. Historically, both of these buffers had shared length variable, which worked as long as these buffers were same. But the key re-exchange operation can also change the key exchange method, which can be based on hash of different size, eventually creating "secret_hash" of different size than the session_id has. This becomes an issue when the session_id memory is zeroed or when it is used again during second key re-exchange.

CVSS 6.5 · Moyenne · EPSS 4,7% · Correctif disponible

Publication
Mise à jour

Pile logicielle: system

Produits et versions concernés

  • libssh

    Versions du logiciel
    • libssh 0.9.6: Concernée

    Aucun correctif publié

  • libssh Debian:12

    Plages de versions concernées
    • ECOSYSTEM: < 0.9.6-1

    Mettez à jour vers 0.9.6-1

  • libssh Debian:13

    Plages de versions concernées
    • ECOSYSTEM: < 0.9.6-1

    Mettez à jour vers 0.9.6-1

  • libssh Debian:14

    Plages de versions concernées
    • ECOSYSTEM: < 0.9.6-1

    Mettez à jour vers 0.9.6-1

  • libssh Ubuntu:20.04:LTS

    Versions du logiciel
    • 0.9.0-1ubuntu1
    • 0.9.0-1ubuntu4
    • 0.9.0-1ubuntu5
    • 0.9.3-2ubuntu1
    • 0.9.3-2ubuntu2
    • 0.9.3-2ubuntu2.1
    Plages de versions concernées
    • ECOSYSTEM: < 0.9.3-2ubuntu2.2

    Mettez à jour vers 0.9.3-2ubuntu2.2

  • libssh Ubuntu:22.04:LTS

    Plages de versions concernées
    • ECOSYSTEM: < 0.9.6-1

    Mettez à jour vers 0.9.6-1

Sources originales

Vérifiez votre serveur →