Time-of-check Time-of-use (TOCTOU) Affecting perf package, versions <0:4.18.0-305.el8


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-PERF-3971993
  • published26 Jul 2021
  • disclosed9 Sept 2020

Introduced: 9 Sep 2020

CVE-2020-25212  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade RHEL:8 perf to version 0:4.18.0-305.el8 or higher.
This issue was patched in RHSA-2021:1578.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perf package and not the perf package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

A TOCTOU mismatch in the NFS client code in the Linux kernel before 5.8.3 could be used by local attackers to corrupt memory or possibly have unspecified other impact because a size check is in fs/nfs/nfs4proc.c instead of fs/nfs/nfs4xdr.c, aka CID-b4487b935452.

CVSS Scores

version 3.1