liboqs to biblioteka kryptograficzna napisana w C, która implementuje algorytmy kryptografii post-kwantowej. Przed wersją 0.16.0 w kodzie weryfikacji podpisów stateful XMSS i XMSS^MT zidentyfikowano out-of-bounds read. Gdy funkcja weryfikacji jest wywoływana z buforem podpisu krótszym niż oczekiwany rozmiar podpisu dla danego zestawu parametrów, implementacja nie sprawdza długości podanej przez wywołującego i czyta poza koniec bufora. Bajty spoza granic są używane wyłącznie jako dane wejściowe do wewnętrznego obliczenia hash i nie są zwracane do wywołującego, dlatego nie istnieje możliwość wydostania ich zawartości do atakującego. Głównym obserwowanym efektem jest możliwe zablokowanie (denial of service) procesu weryfikującego, jeśli odczyt przekroczy na niezamapowaną stronę pamięci. Podatność została naprawiona w wersji 0.16.0.
▸ Pokaż oryginał (EN)
liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. Prior to 0.16.0, an out-of-bounds read has been identified in the XMSS and XMSS^MT stateful signature verification code. When the verification function is called with a signature buffer shorter than the expected signature size for the given parameter set, the implementation does not validate the caller-supplied length and proceeds to read past the end of the buffer. The out-of-bounds bytes are consumed only as input to an internal hash computation and are not returned to the caller, so no oracle exists to leak their contents to an attacker. The primary observable effect is a possible crash (denial of service) of the verifying process if the read crosses into an unmapped memory page. This vulnerability is fixed in 0.16.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LOpenquantumsafe Liboqs
APPOpenquantumsafe≤ 0.15.0
Powiązane podatności
Eskalacja uprawnień w Open Quantum Safe liboqs przez błąd podpisu kryptograficznego
liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algori...
liboqs to biblioteka kryptograficzna w C-język implementująca algorytmy kryptografii post-kwantowej. Przed wer...
liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algori...
liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algori...