Race Condition Affecting freebsd package, versions [,13.0.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.91% (56th 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-UNMANAGED-FREEBSD-2382916
  • published26 Jan 2022
  • disclosed30 Aug 2019
  • creditUnknown

Introduced: 30 Aug 2019

CVE-2019-5612  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade freebsd to version 13.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Race Condition. In FreeBSD 12.0-STABLE before r351264, 12.0-RELEASE before 12.0-RELEASE-p10, 11.3-STABLE before r351265, 11.3-RELEASE before 11.3-RELEASE-p3, and 11.2-RELEASE before 11.2-RELEASE-p14, the kernel driver for /dev/midistat implements a read handler that is not thread-safe. A multi-threaded program can exploit races in the handler to copy out kernel memory outside the boundaries of midistat's data buffer.

CVSS Base Scores

version 3.1