open62541 1.5.0 через 1.5.10 содержит use-after-free и двойную свободную уязвимость в функции lookupRefType() в src/util/ua_util.c, которая позволяет злоумышленникам повредить кучу серверного процесса, поставляя строку RelativePath, разрешенную через UA_RelativePath_parseWithServer(). Когда путь называет ReferenceType со строкой или GUID NodeId, функция возвращает неглубокую копию NodeId результата просмотра и освобождает его идентификатор, в результате чего идентификатор освобождается во второй раз, когда очищается разобранный путь, который злоумышленники могут использовать для сбоя процесса сервера.
Показать оригинальное описание (EN)
open62541 1.5.0 through 1.5.10 contains a use-after-free and double free vulnerability in the lookupRefType() function in src/util/ua_util.c that allows attackers to corrupt the heap of the server process by supplying a RelativePath string resolved through UA_RelativePath_parseWithServer(). When the path names a ReferenceType with a string or GUID NodeId, the function returns a shallow copy of the browse result's NodeId and frees its identifier, causing the identifier to be freed a second time when the parsed path is cleared, which attackers can exploit to crash the server process.
Характеристики атаки
Последствия
Строка CVSS v4.0