Описание
Thymeleaf is a server-side Java template engine for web and standalone environments. Versions 3.1.3.RELEASE and prior contain a security bypass vulnerability in the expression execution mechanisms. Although the library provides mechanisms to prevent expression injection, it fails to properly restrict the scope of accessible objects, allowing specific potentially sensitive objects to be reached from within a template. If an application developer passes unvalidated user input directly to the template engine, an unauthenticated remote attacker can bypass the library's protections to achieve Server-Side Template Injection (SSTI). This issue has ben fixed in version 3.1.4.RELEASE.
A flaw was found in Thymeleaf, a server-side Java template engine. An unauthenticated remote attacker can exploit a security bypass vulnerability in the expression execution mechanisms. By providing unvalidated user input directly to the template engine, the attacker can bypass the library's protections, leading to Server-Side Template Injection (SSTI). This allows access to potentially sensitive objects from within a template.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat build of Apache Camel for Spring Boot 4 | camel-thymeleaf | Not affected | ||
| Red Hat build of Apache Camel for Spring Boot 4 | thymeleaf | Not affected | ||
| Red Hat Fuse 7 | thymeleaf | Will not fix | ||
| Red Hat JBoss Enterprise Application Platform 7 | smallrye-mutiny-vertx-web-templ-thymeleaf | Not affected | ||
| Red Hat JBoss Enterprise Application Platform 7 | thymeleaf | Not affected | ||
| Red Hat JBoss Enterprise Application Platform 7 | vertx-web-templ-thymeleaf | Not affected | ||
| Red Hat JBoss Enterprise Application Platform 8 | smallrye-mutiny-vertx-web-templ-thymeleaf | Not affected | ||
| Red Hat JBoss Enterprise Application Platform 8 | thymeleaf | Not affected | ||
| Red Hat JBoss Enterprise Application Platform 8 | vertx-web-templ-thymeleaf | Not affected | ||
| Red Hat JBoss Enterprise Application Platform Expansion Pack | smallrye-mutiny-vertx-web-templ-thymeleaf | Affected |
Показывать по
Дополнительная информация
Статус:
EPSS
8.5 High
CVSS3
Связанные уязвимости
Thymeleaf is a server-side Java template engine for web and standalone environments. Versions 3.1.3.RELEASE and prior contain a security bypass vulnerability in the expression execution mechanisms. Although the library provides mechanisms to prevent expression injection, it fails to properly restrict the scope of accessible objects, allowing specific potentially sensitive objects to be reached from within a template. If an application developer passes unvalidated user input directly to the template engine, an unauthenticated remote attacker can bypass the library's protections to achieve Server-Side Template Injection (SSTI). This issue has ben fixed in version 3.1.4.RELEASE.
Improper restriction of the scope of accessible objects in Thymeleaf expressions
Уязвимость JavaScript-движка Thymeleaf, связанная с непринятием мер по нейтрализации специальных элементов, используемых в операторе языка выражений, позволяющая нарушителю обойти существующие механизмы безопасности
EPSS
8.5 High
CVSS3