CVE-2021-38241 Deserialization in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code in RuoYi applications due to a deserialization vulnerability in the Shiro 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-38241?

CVE-2021-38241 is a critical unsafe deserialization vulnerability in Ruoyi Ruoyi, published on 16 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Deserialization issue discovered in Ruoyi before 4.6.1 allows remote attackers to run arbitrary code via weak cipher in Shiro framework.

Weakness: CWE-502

Which versions are affected by CVE-2021-38241?

It affects 1 product.

Products include Ruoyi Ruoyi.

How do I fix CVE-2021-38241?

No fix has been published for CVE-2021-38241 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-38241 being exploited?

There is no known exploitation of CVE-2021-38241 in the wild and no public exploit code.

All Ruoyi Ruoyi vulnerabilities

Sources

Also known as GHSA-5wwp-qxwp-jfqg.

Is CVE-2021-38241 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free