Уязвимость некорректной обработки значения NULL в функции "calloc" в libarchive
Описание
В libarchive обнаружена уязвимость, связанная с отсутствием проверки ошибки после вызова функции calloc
. Если calloc
возвращает NULL (при неудачном выделении памяти), это может привести к разыменованию NULL-указателя.
Примечание
Первооткрыватель указывает на возможное выполнение кода в редких обстоятельствах, если NULL соответствует адресу памяти 0x0, и привилегированный код может его читать или записывать. Третьи стороны оспаривают вероятность выполнения кода в данной ситуации.
Затронутые версии ПО
- libarchive до версии 3.6.2
Тип уязвимости
Разыменование NULL-указателя (NULL pointer dereference)
Ссылки
- Issue TrackingPatchThird Party Advisory
- Third Party Advisory
- Issue TrackingPatchThird Party Advisory
- Third Party Advisory
- Mailing ListThird Party Advisory
- Third Party Advisory
- Issue TrackingPatchThird Party Advisory
- Third Party Advisory
- Issue TrackingPatchThird Party Advisory
- Third Party Advisory
- Mailing ListThird Party Advisory
- Third Party Advisory
Уязвимые конфигурации
Одно из
Одно из
EPSS
9.8 Critical
CVSS3
Дефекты
Связанные уязвимости
In libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference. NOTE: the discoverer cites this CWE-476 remark but third parties dispute the code-execution impact: "In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution."
In libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference. NOTE: the discoverer cites this CWE-476 remark but third parties dispute the code-execution impact: "In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution."
In libarchive before 3.6.2, the software does not check for an error a ...
EPSS
9.8 Critical
CVSS3