01 Record
CVE-2021-42341
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.
UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 2.11% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 81.7% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-10-14 05:01Z5 YR AGO
- Last updated
- 2024-08-04 03:30Z2 YR AGO
- Reserved
- 2021-10-14
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- No CWE assigned
- Data version
- 5.1
- Document digest
- 1cc3715fb7f694d8eeed2905c4f6c39ce6bc773a959acb63fbe738549e80d56e
05 Affected products
VendorProductVersionsPlatforms
06 References
- github.comhttps://github.com/OpenRC/openrc/commit/bb8334104baf4d5a4a442a8647fb9204738f2204
- github.comhttps://github.com/OpenRC/openrc/issues/459
- github.comhttps://github.com/OpenRC/openrc/pull/462
- bugs.gentoo.orghttps://bugs.gentoo.org/816900
- github.comhttps://github.com/OpenRC/openrc/commit/63db2d99e730547339d1bdd28e8437999c380cae
- github.comhttps://github.com/OpenRC/openrc/issues/418