CVE-2021-41862 Expression injection in AviatorScript

Critical 9.8 Published Updated

Attackers can execute arbitrary code by submitting malicious expressions encoded with BCEL to the AviatorScript library.

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-41862?

CVE-2021-41862 is a critical code injection vulnerability in n/a, published on 1 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

AviatorScript through 5.2.7 allows code execution via an expression that is encoded with Byte Code Engineering Library (BCEL).

Weakness: CWE-74

Which versions are affected by CVE-2021-41862?

2 open source packages ship an affected version, including com.googlecode.aviator:aviator. It affects 1 product.

PackageAffectedFixed in
com.googlecode.aviator:aviator MavenFrom 5.2.1 to 5.2.7None
com.googlecode.aviator:aviator MavenFrom 5.2.1 to 5.2.7None

Products include Aviatorscript Project Aviatorscript.

How do I fix CVE-2021-41862?

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

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

Sources

Also known as GHSA-xpv2-8ppj-79hh.

Is CVE-2021-41862 in your software?

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

Check your SBOMs for free