Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-gr7h-xw4f-wh86

Опубликовано: 22 окт. 2025
Источник: github
Github: Прошло ревью
CVSS3: 5.9

Описание

Sakai kernel-impl: predictable PRNG used to generate server‑side encryption key in EncryptionUtilityServiceImpl

Impact

EncryptionUtilityServiceImpl initialized an AES256TextEncryptor password (serverSecretKey) using RandomStringUtils with the default java.util.Random. java.util.Random is a non‑cryptographic PRNG and can be predicted from limited state/seed information (e.g., start time window), substantially reducing the effective search space of the generated key. An attacker who can obtain ciphertexts (e.g., exported or at‑rest strings protected by this service) and approximate the PRNG seed can feasibly reconstruct the serverSecretKey and decrypt affected data.

Patches

SAK-49866 is patched in Sakai 23.5, 25.0, and trunk.

Credits

  • Reported by Suraj Gangwar.
  • Patched by Sam Ottenhoff (Longsight).

Пакеты

Наименование

org.sakaiproject.kernel:sakai-kernel-impl

maven
Затронутые версииВерсия исправления

<= 23.3

Отсутствует

EPSS

Процентиль: 7%
0.00028
Низкий

5.9 Medium

CVSS3

Дефекты

CWE-337

Связанные уязвимости

CVSS3: 5.9
nvd
4 месяца назад

Sakai is a Collaboration and Learning Environment. Prior to versions 23.5 and 25.0, EncryptionUtilityServiceImpl initialized an AES256TextEncryptor password (serverSecretKey) using RandomStringUtils with the default java.util.Random. java.util.Random is a non‑cryptographic PRNG and can be predicted from limited state/seed information (e.g., start time window), substantially reducing the effective search space of the generated key. An attacker who can obtain ciphertexts (e.g., exported or at‑rest strings protected by this service) and approximate the PRNG seed can feasibly reconstruct the serverSecretKey and decrypt affected data. SAK-49866 is patched in Sakai 23.5, 25.0, and trunk.

EPSS

Процентиль: 7%
0.00028
Низкий

5.9 Medium

CVSS3

Дефекты

CWE-337