CVE-2020-21583 Command injection in n/a
Attackers can execute arbitrary commands and escalate privileges via the path parameter in the hwclock utility when setting the date.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-21583?
CVE-2020-21583 is a medium-severity command injection vulnerability in n/a, published on 22 Aug 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An issue was discovered in hwclock.13-v2.27 allows attackers to gain escalated privlidges or execute arbitrary commands via the path parameter when setting the date.
Weakness: CWE-78
Which versions are affected by CVE-2020-21583?
It affects 1 product.
Products include Kernel Util-Linux.
How do I fix CVE-2020-21583?
Apply the vendor's patch.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-21583 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-21583 exists.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2020-21583, GHSA-c5mr-x8m3-hpc9, UBUNTU-CVE-2020-21583.