CVE-2022-40929 XXL-JOB contains a Command execution vulnerability in background tasks

Critical 9.8 Published Updated

XXL-JOB allows arbitrary Bash script execution in background tasks, potentially enabling code execution, though this is disputed as an intended feature.

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-2022-40929?

CVE-2022-40929 is a critical command injection vulnerability in n/a, published on 28 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

XXL-JOB 2.2.0 has a Command execution vulnerability in background tasks. NOTE: this is disputed because the issues/4929 report is about an intended and supported use case (running arbitrary Bash scripts on behalf of users).

Weakness: CWE-78

Which versions are affected by CVE-2022-40929?

2 open source packages ship an affected version, including com.xuxueli:xxl-job-core. It affects 1 product.

PackageAffectedFixed in
com.xuxueli:xxl-job-core MavenAll versions to 2.2.0None
com.xuxueli:xxl-job-core MavenAll versions to 2.2.0None

Products include Xuxueli Xxl-Job.

How do I fix CVE-2022-40929?

No fix has been published for CVE-2022-40929 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2022-40929 being exploited?

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

Sources

Also known as GHSA-m54f-rp6r-rrrm.

Is CVE-2022-40929 in your software?

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

Check your SBOMs for free