REDHAT-BUG-2459349: High severity Thymeleaf thymeleaf vulnerability
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 the expression execution mechanisms. Although the library provides mechanisms to prevent expression injection, it fails to properly neutralize specific syntax patterns that allow for the execution of unauthorized expressions. 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Thymeleafto a version that resolves this vulnerability.Fixed in 3.1.4.RELEASE
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2459349?
The severity of REDHAT-BUG-2459349 is classified as high with a score of 7.
What type of vulnerability is REDHAT-BUG-2459349?
REDHAT-BUG-2459349 is a security bypass vulnerability in the Thymeleaf template engine.
Which versions are affected by REDHAT-BUG-2459349?
Versions 3.1.3.RELEASE and prior of the Thymeleaf library are affected by REDHAT-BUG-2459349.
How do I fix REDHAT-BUG-2459349?
To fix REDHAT-BUG-2459349, upgrade to a version of Thymeleaf that is later than 3.1.3.RELEASE.
What does REDHAT-BUG-2459349 impact?
REDHAT-BUG-2459349 impacts the expression execution mechanisms of the Thymeleaf template engine.