CVE-2021-42341
publishedPackage status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | openrc | Fixed | 0.44.6-r1 | Package fix record |
| Alpine Linux | v3.14 | openrc | Fixed | 0.43.3-r2 | Package fix record |
| Alpine Linux | v3.15 | openrc | Fixed | 0.44.6-r1 | Package fix record |
| Alpine Linux | v3.16 | openrc | Fixed | 0.44.6-r1 | Package fix record |
| Alpine Linux | v3.17 | openrc | Fixed | 0.44.6-r1 | Package fix record |
| Alpine Linux | v3.18 | openrc | Fixed | 0.44.6-r1 | Package fix record |
| Alpine Linux | v3.19 | openrc | Fixed | 0.44.6-r1 | Package fix record |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.20 | openrc | Fixed | 0.44.6-r1 | Package fix record |
| Alpine Linux | v3.21 | openrc | Fixed | 0.44.6-r1 | Package fix record |
| Alpine Linux | v3.22 | openrc | Fixed | 0.44.6-r1 | Package fix record |
| Alpine Linux | v3.23 | openrc | Fixed | 0.44.6-r1 | Package fix record |
| Alpine Linux | v3.24 | openrc | Fixed | 0.44.6-r1 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
6- https://bugs.gentoo.org/816900
- https://github.com/OpenRC/openrc/commit/63db2d99e730547339d1bdd28e8437999c380cae
- https://github.com/OpenRC/openrc/commit/bb8334104baf4d5a4a442a8647fb9204738f2204
- https://github.com/OpenRC/openrc/issues/418
- https://github.com/OpenRC/openrc/issues/459
- https://github.com/OpenRC/openrc/pull/462
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 30aae2163eeb0efa5508be873db6df34410e97789c9ea1221bcfc41c59d8fe9c
- Ingested
- 23 Sep 2026, 07:56:21 UTC
- Source record
- Official CVE record