CVE-2024-21649 Remote code execution

High 8.8 Published Updated

Authenticated users can inject code into algorithm environment variables, leading to remote code execution on the vantage6 server.

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

What is CVE-2024-21649?

CVE-2024-21649 is a high-severity code injection vulnerability in vantage6, published on 30 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The vantage6 technology enables to manage and deploy privacy enhancing technologies like Federated Learning (FL) and Multi-Party Computation (MPC). Prior to 4.2.0, authenticated users could inject code into algorithm environment variables, resulting in remote code execution. This vulnerability is patched in 4.2.0.

Weakness: CWE-94

Which versions are affected by CVE-2024-21649?

3 open source packages ship an affected version, including vantage6. It affects 1 product.

PackageAffectedFixed in
vantage6 PyPIAll versions4.2.0
vantage6 PyPIAll versions4.2.0
vantage6 PyPIAll versions4.2.0

Products include Vantage6 Vantage6.

How do I fix CVE-2024-21649?

Upgrade vantage6 to 4.2.0 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-21649 being exploited?

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

Sources

Also known as GHSA-w9h2-px87-74vx, PYSEC-2024-30.

Is CVE-2024-21649 in your software?

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

Check your SBOMs for free