Katalog CVE

CVE-2026-121564

NiskieCVSS 1.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.34%

Percentyl 29 - wyżej niż 29% wszystkich znanych CVE

Streszczenie

Biblioteka whatstk od wersji 0.3.0 przed 0.9.0 zawiera podatność niepełnego porównania (CWE-1023) w funkcji merge_chats() (whatstk/utils/chat_merge.py), wywoływanej przez BaseChat.merge(). Scalanie zachowuje w całości czat, którego pierwsza wiadomość jest najstarsza, i dołącza z drugiego tylko wiadomości ściśle nowsze niż ostatnia wiadomość pierwszego, przez co wiadomości drugiego czatu mieszczące się w zakresie dat pierwszego są po cichu odrzucane. Wynik scalenia jest zwracany bez ostrzeżenia i bez liczby usuniętych wiadomości.

Ocena ryzyka

Wynik scalania może pomijać wiadomości obecne w danych wejściowych, co jest szczególnie niebezpieczne w zastosowaniach kryminalistycznych i przy generowaniu danych treningowych. Może to prowadzić do błędnych wniosków lub stronniczych modeli.

Rekomendacja

Zaktualizuj whatstk do wersji 0.9.0 lub nowszej. Do czasu aktualizacji zweryfikuj wyniki scalania czatów pod kątem brakujących wiadomości przed użyciem ich w analizach.

Inne podatności w whatstk

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

Incomplete Comparison with Missing Factors (CWE-1023) in merge_chats() (whatstk/utils/chat_merge.py), reached from BaseChat.merge(), in whatstk from 0.3.0 before 0.9.0 allows a party that supplies the chat exports to cause messages to be absent from the merged output with no indication that anything was removed, because the merge keeps whole the chat whose first message is oldest and appends from the other only the messages that are strictly newer than the last message of the first. Every message of the second chat that falls inside the date range already covered by the first is therefore discarded. The two chats are compared on their date ranges and not on the identity of the individual messages, so a message held by only one of the two exports is dropped whenever its date falls inside the range of the other, and both branches of _merge_two_chats() behave this way. The merged result is returned without a warning and without a count of what was removed. This results in a merged chat that omits messages the inputs contain, in a library whose documented uses include forensic review and the generation of training data.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS