Live threats

All CVEs / Openrc Project

CVE-2021-42341Openrc Project Openrc

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.1%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
Oct 14, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Openrc.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
openrc_projectopenrc≥ 0.44.0 < 0.44.7

Official sources

References

Links published by the sources. Open them with care.