CVE-2026-47191
NiskieCVSS 2.1Prawdopodobieństwo exploitacji (EPSS)
Niskie ryzykoPercentyl 6 - wyżej niż 6% wszystkich znanych CVE
Streszczenie
Kas to narzędzie do konfiguracji projektów opartych na bitbake. Przed wersją 5.3, gdy użytkownik polega wyłącznie na identyfikatorze commita git (SHA-1 lub SHA-256) w celu weryfikacji integralności repozytorium, może zostać oszukany i pobrać gałąź o tej samej nazwie z przejętego repozytorium. Dotyczy to głównie identyfikatorów SHA-256, ponieważ SHA-1 może być podatny na kolizje.
Ocena ryzyka
Ryzyko polega na możliwości pobrania złośliwej gałęzi zamiast zamierzonego commita, co może prowadzić do wstrzyknięcia niebezpiecznego kodu do projektu. Atak wymaga przejęcia repozytorium przez atakującego, ale jeśli to nastąpi, integralność kodu jest zagrożona.
Rekomendacja
Zaleca się aktualizację do wersji kas 5.3 lub nowszej. Jako obejście, nie należy polegać wyłącznie na identyfikatorze commita do weryfikacji integralności repozytorium; dodatkowo należy weryfikować podpisane kryptograficznie commity lub tagi, albo używać bezpiecznego mirroru repozytorium.
Oryginalny opis (angielski, źródło NVD)
kas is a setup tool for bitbake based projects. Prior to version 5.3, when relying solely on a git commit ID (SHA-1 or SHA-256) to qualify if a checkout of a repository is equivalent to the state validated while adding its commit ID to a kas configuration, users may be tricked to check out a branch of the same name from this repository. This implies that the referenced repository has been taken over by an attacker and modified to carry such a branch. SHA-1 commits may also be replaced by creating hash collisions, so the primary impact of this issue is on SHA-256 commit IDs. Version 5.3 fixes the issue. As a workaround, avoid relying solely on the commit ID for integrity validation of a repository that might become under control of a malicious 3rd party. If available, additional validate cryptographically signed commits or tags. Alternatively, mirror the repository to a save place, validate its integrity, and use this instead of the original one.

