CVE-2021-31649 JFinal Java Deserialization Vulnerability
Attackers can achieve remote code execution in applications using the jfinal framework with Redis if unsafe deserialization is enabled.
- 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-31649?
CVE-2021-31649 is a critical unsafe deserialization vulnerability in n/a, published on 24 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In applications using jfinal 4.9.08 and below, there is a deserialization vulnerability when using redis,may be vulnerable to remote code execute
Weakness: CWE-502
Which versions are affected by CVE-2021-31649?
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-31649?
No fix has been published for CVE-2021-31649 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2021-31649 being exploited?
There is no known exploitation of CVE-2021-31649 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-h3j8-fr5q-8rfr.