CVE-2021-31635 jFinal Server-Side Template Injection vulnerability
Remote attackers can execute arbitrary code via Server-Side Template Injection in the jFinal Java web framework.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-31635?
CVE-2021-31635 is a critical code injection vulnerability in n/a, published on 26 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Server-Side Template Injection (SSTI) vulnerability in jFinal v.4.9.08 allows a remote attacker to execute arbitrary code via the template function.
Weakness: CWE-94
Which versions are affected by CVE-2021-31635?
2 open source packages ship an affected version, including com.jfinal:jfinal. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.jfinal:jfinal Maven | All versions to 4.9.08 | None |
com.jfinal:jfinal Maven | All versions to 4.9.08 | None |
Products include Jfinal Jfinal.
How do I fix CVE-2021-31635?
No fix has been published for CVE-2021-31635 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2021-31635 being exploited?
There is no known exploitation of CVE-2021-31635 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-cgmm-c2m9-ff7r.