CVE-2024-29640 aliyundrive-webdav vulnerable to Command Injection

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code via a crafted payload in the sid parameter of the action_query_qrcode component.

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

CVE-2024-29640 is a critical command injection vulnerability in n/a, published on 29 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue in aliyundrive-webdav v.2.3.3 and before allows a remote attacker to execute arbitrary code via a crafted payload to the sid parameter in the action_query_qrcode component.

Weakness: CWE-78

Which versions are affected by CVE-2024-29640?

5 open source packages ship an affected version, including aliyundrive-webdav.

PackageAffectedFixed in
aliyundrive-webdav PyPIAll versions to 2.3.3None
aliyundrive-webdav PyPIAll versions to 2.3.3None
aliyundrive-webdav PyPIAll versions to 2.3.3None
aliyundrive-webdav crates.ioAll versions to 2.3.3None
aliyundrive-webdav crates.ioAll versions to 2.3.3None

How do I fix CVE-2024-29640?

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

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

Sources

Also known as GHSA-73v2-rxqp-7q4f, PYSEC-2026-1114.

Is CVE-2024-29640 in your software?

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

Check your SBOMs for free