CVE-2024-29202 JumpServer vulnerable to Jinja2 template injection in Ansible leads to RCE in Celery

Critical 10.0 Published Updated

Attackers can execute arbitrary code in the Celery container via Jinja2 template injection, leading to data theft and database manipulation.

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-2024-29202?

CVE-2024-29202 is a critical code injection vulnerability in jumpserver, published on 29 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

JumpServer is an open source bastion host and an operation and maintenance security audit system. Attackers can exploit a Jinja2 template injection vulnerability in JumpServer's Ansible to execute arbitrary code within the Celery container. Since the Celery container runs with root privileges and has database access, attackers could steal sensitive information from all hosts or manipulate the database. This vulnerability is fixed in v3.10.7.

Weakness: CWE-94

Which versions are affected by CVE-2024-29202?

It affects 1 product.

Products include Fit2cloud Jumpserver.

How do I fix CVE-2024-29202?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29202 exists.

Sources

Also known as GHSA-2vvr-vmvx-73ch.

Is CVE-2024-29202 in your software?

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

Check your SBOMs for free