p PatchFirst

CVE-2021-3634

CVE-2021-3634

Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.

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 · Средний · EPSS 4,7% · Есть исправление

Опубликовано
Обновлено

Стек: system

Затронутые продукты и версии

  • libssh

    Версии
    • libssh 0.9.6: Затронуто

    Нет опубликованного исправления

  • libssh Debian:12

    Затронутые диапазоны версий
    • ECOSYSTEM: < 0.9.6-1

    Обновитесь до 0.9.6-1

  • libssh Debian:13

    Затронутые диапазоны версий
    • ECOSYSTEM: < 0.9.6-1

    Обновитесь до 0.9.6-1

  • libssh Debian:14

    Затронутые диапазоны версий
    • ECOSYSTEM: < 0.9.6-1

    Обновитесь до 0.9.6-1

  • libssh Ubuntu:20.04:LTS

    Версии
    • 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
    Затронутые диапазоны версий
    • ECOSYSTEM: < 0.9.3-2ubuntu2.2

    Обновитесь до 0.9.3-2ubuntu2.2

  • libssh Ubuntu:22.04:LTS

    Затронутые диапазоны версий
    • ECOSYSTEM: < 0.9.6-1

    Обновитесь до 0.9.6-1

Первоисточники

Проверьте свой сервер →