High severity7.5NVD Advisory· Published Oct 14, 2021· Updated Jun 17, 2026
CVE-2021-42341
CVE-2021-42341
Description
checkpath in OpenRC before 0.44.7 uses the direct output of strlen() to allocate strings, which does not account for the '\0' byte at the end of the string. This results in memory corruption. CVE-2021-42341 was introduced in git commit 63db2d99e730547339d1bdd28e8437999c380cae, which was introduced as part of OpenRC 0.44.0 development.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3- OpenRC/OpenRCdescription
Patches
Vulnerability mechanics
References
6- github.com/OpenRC/openrc/commit/63db2d99e730547339d1bdd28e8437999c380caenvdPatchThird Party Advisory
- github.com/OpenRC/openrc/commit/bb8334104baf4d5a4a442a8647fb9204738f2204nvdPatchThird Party Advisory
- github.com/OpenRC/openrc/pull/462nvdPatchThird Party Advisory
- bugs.gentoo.org/816900nvdExploitPatchThird Party Advisory
- github.com/OpenRC/openrc/issues/418nvdExploitPatchThird Party Advisory
- github.com/OpenRC/openrc/issues/459nvdExploitPatchThird Party Advisory
News mentions
0No linked articles in our index yet.