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

exploitDog

github логотип

GHSA-p953-3j66-hg45

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

Описание

Apache Hive vulnerable to Observable Timing Discrepancy and Authentication Bypass by Spoofing

Use of Arrays.equals() in LlapSignerImpl in Apache Hive to compare message signatures allows attacker to forge a valid signature for an arbitrary message byte by byte. The attacker should be an authorized user of the product to perform this attack. Users are recommended to upgrade to version 4.0.0, which fixes this issue.

The problem occurs when an application doesn’t use a constant-time algorithm for validating a signature. The method Arrays.equals() returns false right away when it sees that one of the input’s bytes are different. It means that the comparison time depends on the contents of the arrays. This little thing may allow an attacker to forge a valid signature for an arbitrary message byte by byte. So it might allow malicious users to submit splits/work with selected signatures to LLAP without running as a privileged user, potentially leading to DDoS attack.

More details in the reference section.

Пакеты

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

org.apache.hive:hive-llap-common

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

< 4.0.0

4.0.0

EPSS

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

6.5 Medium

CVSS3

Дефекты

CWE-208
CWE-290

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

CVSS3: 6.5
nvd
около 1 года назад

Use of Arrays.equals() in LlapSignerImpl in Apache Hive to compare message signatures allows attacker to forge a valid signature for an arbitrary message byte by byte. The attacker should be an authorized user of the product to perform this attack. Users are recommended to upgrade to version 4.0.0, which fixes this issue. The problem occurs when an application doesn’t use a constant-time algorithm for validating a signature. The method Arrays.equals() returns false right away when it sees that one of the input’s bytes are different. It means that the comparison time depends on the contents of the arrays. This little thing may allow an attacker to forge a valid signature for an arbitrary message byte by byte. So it might allow malicious users to submit splits/work with selected signatures to LLAP without running as a privileged user, potentially leading to DDoS attack. More details in the reference section.

CVSS3: 6.5
fstec
около 1 года назад

Уязвимость метода Arrays.equals() СУБД Apache Hive, позволяющая нарушителю вызвать отказ в обслуживании

EPSS

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

6.5 Medium

CVSS3

Дефекты

CWE-208
CWE-290