CVE-2023-3974 OS Command Injection in jgraph/drawio
Attackers can execute arbitrary OS commands on the server hosting drawio, potentially compromising the underlying system.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-3974?
CVE-2023-3974 is a critical command injection vulnerability in jgraph/drawio, published on 27 Jul 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
OS Command Injection in GitHub repository jgraph/drawio prior to 21.4.0.
Weakness: CWE-78
Which versions are affected by CVE-2023-3974?
It affects 1 product.
Products include Diagrams Drawio.
How do I fix CVE-2023-3974?
No fix has been published for CVE-2023-3974 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-2023-3974 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-3974 exists.
Other vulnerabilities in jgraph/drawio
- CVE-2023-3973 Cross-site Scripting (XSS) - Reflected in jgraph/drawio
- CVE-2022-2014 Code Injection in jgraph/drawio
- CVE-2022-1575 Arbitrary Code Execution through Sanitizer Bypass in jgraph/drawio
- CVE-2023-3975 OS Command Injection in jgraph/drawio
- CVE-2022-1727 Improper Input Validation in jgraph/drawio
Sources
Also known as GHSA-2j63-r66v-jwpq.