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

exploitDog

github логотип

GHSA-5pv5-xh52-hvrp

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

Описание

uutils coreutils has an Incorrect Short Circuit Evaluation Issue

A logic error in the expr utility of uutils coreutils causes the program to evaluate parenthesized subexpressions during the parsing phase rather than at the execution phase. This implementation flaw prevents the utility from performing proper short-circuiting for logical OR (|) and AND (&) operations. As a result, arithmetic errors (such as division by zero) occurring within "dead" branches, branches that should be ignored due to short-circuiting, are raised as fatal errors. This divergence from GNU expr behavior can cause guarded expressions within shell scripts to fail with hard errors instead of returning expected boolean results, leading to premature script termination and breaking GNU-compatible shell control flow.

Пакеты

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

coreutils

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

< 0.8.0

0.8.0

EPSS

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

3.3 Low

CVSS3

Дефекты

CWE-768

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

CVSS3: 3.3
ubuntu
4 месяца назад

A logic error in the expr utility of uutils coreutils causes the program to evaluate parenthesized subexpressions during the parsing phase rather than at the execution phase. This implementation flaw prevents the utility from performing proper short-circuiting for logical OR (|) and AND (&) operations. As a result, arithmetic errors (such as division by zero) occurring within "dead" branches, branches that should be ignored due to short-circuiting, are raised as fatal errors. This divergence from GNU expr behavior can cause guarded expressions within shell scripts to fail with hard errors instead of returning expected boolean results, leading to premature script termination and breaking GNU-compatible shell control flow.

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

A logic error in the expr utility of uutils coreutils causes the program to evaluate parenthesized subexpressions during the parsing phase rather than at the execution phase. This implementation flaw prevents the utility from performing proper short-circuiting for logical OR (|) and AND (&) operations. As a result, arithmetic errors (such as division by zero) occurring within "dead" branches, branches that should be ignored due to short-circuiting, are raised as fatal errors. This divergence from GNU expr behavior can cause guarded expressions within shell scripts to fail with hard errors instead of returning expected boolean results, leading to premature script termination and breaking GNU-compatible shell control flow.

CVSS3: 3.3
debian
4 месяца назад

A logic error in the expr utility of uutils coreutils causes the progr ...

EPSS

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

3.3 Low

CVSS3

Дефекты

CWE-768