CVE-2021-42341

High

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.

SeverityHigh
CVSS7.5
Exploit probability82. percentile2.1%
ProductOpenrc
PublishedOct 14, 2021
First seenOct 14, 2021

How to fix

Update
  • openrc_project openrc0.44.7 or later

Affected products

ProductAffected versionsFixed in
openrc_project openrc0.44.0 ≤ v < 0.44.70.44.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.