CVE catalog

CVE-2021-42341

openrc: CVE-2021-42341

[CVE catalog]

Severity
Low
Published
Source
[NVD] · [CVE record]
EPSS
2.12% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianopenrcsid0.64.1-2not affected
Debianopenrcforky0.64.1-2not affected
Debianopenrctrixie0.56-1not affected
Debianopenrcbookworm0.45.2-2+deb12u1not affected
Alpineopenrc3.140.43.3-r2fixed
Alpineopenrc3.150.44.6-r1fixed
Alpineopenrc3.160.44.6-r1fixed
Alpineopenrc3.170.44.6-r1fixed
Alpineopenrc3.180.44.6-r1fixed
Alpineopenrc3.190.44.6-r1fixed
Alpineopenrc3.200.44.6-r1fixed
Alpineopenrc3.210.44.6-r1fixed
Alpineopenrc3.220.44.6-r1fixed
Alpineopenrc3.230.44.6-r1fixed
Alpineopenrc3.240.44.6-r1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebianopenrcsourcesidNot affectedunimportantNot reportedNot reported
DebianopenrcsourceforkyNot affectedunimportantNot reportedNot reported
DebianopenrcsourcetrixieNot affectedunimportantNot reportedNot reported
DebianopenrcsourcebookwormNot affectedunimportantNot reportedNot reported
Alpineopenrcapk3.140.43.3-r2Not reportedALPINE-CVE-2021-42341Not reported
Alpineopenrcapk3.150.44.6-r1Not reportedALPINE-CVE-2021-42341Not reported
Alpineopenrcapk3.160.44.6-r1Not reportedALPINE-CVE-2021-42341Not reported
Alpineopenrcapk3.170.44.6-r1Not reportedALPINE-CVE-2021-42341Not reported
Alpineopenrcapk3.180.44.6-r1Not reportedALPINE-CVE-2021-42341Not reported
Alpineopenrcapk3.190.44.6-r1Not reportedALPINE-CVE-2021-42341Not reported
Alpineopenrcapk3.200.44.6-r1Not reportedALPINE-CVE-2021-42341Not reported
Alpineopenrcapk3.210.44.6-r1Not reportedALPINE-CVE-2021-42341Not reported
Alpineopenrcapk3.220.44.6-r1Not reportedALPINE-CVE-2021-42341Not reported
Alpineopenrcapk3.230.44.6-r1Not reportedALPINE-CVE-2021-42341Not reported
Alpineopenrcapk3.240.44.6-r1Not reportedALPINE-CVE-2021-42341Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libeinfo1]Not affected

    Source package: [openrc]

    Details (2)
    • 0.45.2-2+deb12u1 · amd64 · bookworm

      Not affected

      dsa · openrc · debian · bookworm

    • 0.45.2-2+deb12u1 · arm64 · bookworm

      Not affected

      dsa · openrc · debian · bookworm

  • [libeinfo-dev]Not affected

    Source package: [openrc]

    Details (2)
    • 0.45.2-2+deb12u1 · amd64 · bookworm

      Not affected

      dsa · openrc · debian · bookworm

    • 0.45.2-2+deb12u1 · arm64 · bookworm

      Not affected

      dsa · openrc · debian · bookworm

  • [librc1]Not affected

    Source package: [openrc]

    Details (2)
    • 0.45.2-2+deb12u1 · amd64 · bookworm

      Not affected

      dsa · openrc · debian · bookworm

    • 0.45.2-2+deb12u1 · arm64 · bookworm

      Not affected

      dsa · openrc · debian · bookworm

  • [librc-dev]Not affected

    Source package: [openrc]

    Details (2)
    • 0.45.2-2+deb12u1 · amd64 · bookworm

      Not affected

      dsa · openrc · debian · bookworm

    • 0.45.2-2+deb12u1 · arm64 · bookworm

      Not affected

      dsa · openrc · debian · bookworm

  • [openrc]Not affected
    Details (2)
    • 0.45.2-2+deb12u1 · amd64 · bookworm

      Not affected

      dsa · openrc · debian · bookworm

    • 0.45.2-2+deb12u1 · arm64 · bookworm

      Not affected

      dsa · openrc · debian · bookworm

Observed:

References