GLSA 202301-05: Apache Commons Text: Arbitrary Code Execution

Опасность:высокая
Заголовок:Apache Commons Text: Arbitrary Code Execution
Дата:11.01.2023
Ошибки: #877577
ID:202301-05

Сводка

A vulnerability has been discovered in Apache Commons Text which could result in arbitrary code execution.

Назначение

Apache Commons Text is a library focused on algorithms working on strings.

Уязвимые пакеты

Пакет Уязвимый Нетронутый Архитектура(ы)
dev-java/commons-text < 1.10.0 >= 1.10.0 All supported architectures

Описание

Apache Commons Text performs variable interpolation, allowing properties to be dynamically evaluated and expanded. The standard format for interpolation is "${prefix:name}", where "prefix" is used to locate an instance of org.apache.commons.text.lookup.StringLookup that performs the interpolation. The set of default Lookup instances included interpolators that could result in arbitrary code execution or contact with remote servers. These lookups are: - "script" - execute expressions using the JVM script execution engine (javax.script) - "dns" - resolve dns records - "url" - load values from urls, including from remote servers Applications using the interpolation defaults in the affected versions may be vulnerable to remote code execution or unintentional contact with remote servers if untrusted configuration values are used.

Воздействие

Crafted input to Apache Commons Text could trigger remote code execution.

Обход

There is no known workaround at this time.

Решение

All Apache Commons Text users should upgrade to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose ">=dev-java/commons-text-1.10.0"
        

Ссылки

Наличие

Этот GLSA и любые обновления для нее доступны для просмотра на сайте Gentoo Security: http://security.gentoo.org/glsa/glsa-202301-05.xml

Опасения?

Безопасность является одной из главных задач Gentoo Linux и первостепенное значение обеспечить конфиденциальность и безопасность машин наших пользователей. Любые соображения безопасности должны быть адресованы security@gentoo.org или в качестве альтернативы, вы можете сообщить об ошибке на https://bugs.gentoo.org.

Лицензия

Copyright 2010 Gentoo Foundation, Inc; текст ссылки принадлежит его владельцу(ам). Содержание этого документа распространяется на условиях лицензии Creative Commons - Attribution / Share Alike.

Спасибо!