CVE-2021-31599 Code injection in n/a

High 8.8 Published Updated

Authenticated users can execute arbitrary code via BeanShell scripts embedded in Pentaho report files.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-31599?

CVE-2021-31599 is a high-severity code injection vulnerability in n/a, published on 8 Nov 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered in Hitachi Vantara Pentaho through 9.1 and Pentaho Business Intelligence Server through 7.x. A reports (.prpt) file allows the inclusion of BeanShell scripts to ease the production of complex reports. An authenticated user can run arbitrary code.

Weakness: CWE-434

Which versions are affected by CVE-2021-31599?

It affects 2 products.

Products include Hitachi Vantara Pentaho, Hitachi Vantara Pentaho Business Intelligence Server.

How do I fix CVE-2021-31599?

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

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

Sources

Also known as GHSA-6wxg-5c2w-6qpw.

Is CVE-2021-31599 in your software?

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

Check your SBOMs for free