CVE-2023-27849 Command injection in n/a
Attackers can execute arbitrary code remotely via the child_process function in the rails-routes-to-json library.
- 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-2023-27849?
CVE-2023-27849 is a critical command injection vulnerability in n/a, published on 24 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
rails-routes-to-json v1.0.0 was discovered to contain a remote code execution (RCE) vulnerability via the child_process function.
Weakness: CWE-77
Which versions are affected by CVE-2023-27849?
It affects 1 product.
Products include Rails-Routes-to-Json Project Rails-Routes-to-Json.
How do I fix CVE-2023-27849?
No fix has been published for CVE-2023-27849 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-27849 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-27849 exists.
Sources
Also known as GHSA-c727-w428-q3f5.