CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2025-30095

Critical
Published: Translated: NVD NIST

Summary

Wersje VyOS od 1.3 do 1.5 (naprawione w 1.4.2) oraz systemy oparte na Debianie korzystające z Dropbear w połączeniu z live-build mają te same prywatne klucze hosta Dropbear w różnych instalacjach. Umożliwia to atakującym przeprowadzenie aktywnych ataków typu man-in-the-middle na połączenia SSH, jeśli Dropbear jest włączony jako demon SSH.

Risk Assessment

Organizacje mogą być narażone na ataki, które mogą prowadzić do przechwycenia danych przesyłanych przez SSH, co może skutkować utratą poufnych informacji lub dostępu do systemów.

Recommendation

Zaleca się usunięcie kluczy Dropbear za pomocą poleceń 'rm -f /etc/dropbear/*key*' oraz 'rm -f /etc/dropbear-initramfs/*key*', a następnie wygenerowanie nowych kluczy i ponowne uruchomienie usługi lub systemu. Alternatywnie, można zaktualizować do najnowszej wersji VyOS 1.4 lub 1.5.

Original NVD description (English source)

VyOS 1.3 through 1.5 (fixed in 1.4.2) or any Debian-based system using dropbear in combination with live-build has the same Dropbear private host keys across different installations. Thus, an attacker can conduct active man-in-the-middle attacks against SSH connections if Dropbear is enabled as the SSH daemon. I n VyOS, this is not the default configuration for the system SSH daemon, but is for the console service. To mitigate this, one can run "rm -f /etc/dropbear/*key*" and/or "rm -f /etc/dropbear-initramfs/*key*" and then dropbearkey -t rsa -s 4096 -f /etc/dropbear_rsa_host_key and reload the service or reboot the system before using Dropbear as the SSH daemon (this clears out all keys mistakenly built into the release image) or update to the latest version of VyOS 1.4 or 1.5. Note that this vulnerability is not unique to VyOS and may appear in any Debian-based Linux distribution that uses Dropbear in combination with live-build, which has a safeguard against this behavior in OpenSS

Vulnerability data from NVD (NIST) · CISA KEV · EPSS