CVE-2021-42341
7.5
HIGH
CVSS 3.1
EPSS 1.5%
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.
How to fix CVE-2021-42341
To remediate CVE-2021-42341, upgrade the affected package to a fixed version below.
- Alpine/openrc—upgrade to 0.43.3-r2 or later
Is CVE-2021-42341 being exploited?
Low — EPSS is 1.5%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 0.43.3-r2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |