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

exploitDog

github логотип

GHSA-52h2-m2cf-9jh6

Опубликовано: 12 дек. 2022
Источник: github
Github: Прошло ревью
CVSS3: 1.9

Описание

linux-loader reading beyond EOF could lead to infinite loop

Impact

The linux-loader crate used the offsets and sizes provided in the ELF headers to determine the offsets to read from. If those offsets pointed beyond the end of the file this could lead to an infinite loop. Virtual Machine Monitors using the linux-loader crate could enter an infinite loop if the ELF header of the kernel they are loading was modified in a malicious manner.

Patches

The issue has been addressed in 0.8.1

Workarounds

The issue can be mitigated by ensuring that only trusted kernel images are loaded or by verifying that the headers to not point beyond the end of the file.

References

See: https://github.com/rust-vmm/linux-loader/pull/125

Пакеты

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

linux-loader

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

< 0.8.1

0.8.1

EPSS

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

1.9 Low

CVSS3

Дефекты

CWE-119
CWE-125
CWE-835

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

CVSS3: 4
nvd
около 3 лет назад

In versions prior to 0.8.1, the linux-loader crate uses the offsets and sizes provided in the ELF headers to determine the offsets to read from. If those offsets point beyond the end of the file this could lead to Virtual Machine Monitors using the `linux-loader` crate entering an infinite loop if the ELF header of the kernel they are loading was modified in a malicious manner. This issue has been addressed in 0.8.1. The issue can be mitigated by ensuring that only trusted kernel images are loaded or by verifying that the headers do not point beyond the end of the file.

CVSS3: 5.5
msrc
больше 1 года назад

Описание отсутствует

EPSS

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

1.9 Low

CVSS3

Дефекты

CWE-119
CWE-125
CWE-835