VulnerabilityModified
CVE-2021-42341
This results in memory corruption.
HIGH 7.5EPSS 2.12%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.12%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 2.12% probability · 81th percentile
- CISA KEV
- Not listed
- Affected
- openrc project/openrc
- Source
- cve@mitre.org
References
- https://bugs.gentoo.org/816900Exploit, Patch, Third Party Advisory
- https://github.com/OpenRC/openrc/commit/63db2d99e730547339d1bdd28e8437999c380caePatch, Third Party Advisory
- https://github.com/OpenRC/openrc/commit/bb8334104baf4d5a4a442a8647fb9204738f2204Patch, Third Party Advisory
- https://github.com/OpenRC/openrc/issues/418Exploit, Patch, Third Party Advisory
- https://github.com/OpenRC/openrc/issues/459Exploit, Patch, Third Party Advisory
- https://github.com/OpenRC/openrc/pull/462Patch, Third Party Advisory
- https://bugs.gentoo.org/816900Exploit, Patch, Third Party Advisory
- https://github.com/OpenRC/openrc/commit/63db2d99e730547339d1bdd28e8437999c380caePatch, Third Party Advisory
- https://github.com/OpenRC/openrc/commit/bb8334104baf4d5a4a442a8647fb9204738f2204Patch, Third Party Advisory
- https://github.com/OpenRC/openrc/issues/418Exploit, Patch, Third Party Advisory
- https://github.com/OpenRC/openrc/issues/459Exploit, Patch, Third Party Advisory
- https://github.com/OpenRC/openrc/pull/462Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.