Time of Check Time of Use (TOCTOU) Affecting eclipse/openj9 package, versions [,0.15.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.31% (86th 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-ECLIPSEOPENJ9-2365908
  • published26 Jan 2022
  • disclosed30 Jul 2019
  • creditUnknown

Introduced: 30 Jul 2019

CVE-2019-11775  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade eclipse/openj9 to version 0.15.0 or higher.

Overview

Affected versions of this package are vulnerable to Time of Check Time of Use (TOCTOU). All builds of Eclipse OpenJ9 prior to 0.15 contain a bug where the loop versioner may fail to privatize a value that is pulled out of the loop by versioning - for example if there is a condition that is moved out of the loop that reads a field we may not privatize the value of that field in the modified copy of the loop allowing the test to see one value of the field and subsequently the loop to see a modified field value without retesting the condition moved out of the loop. This can lead to a variety of different issues but read out of array bounds is one major consequence of these problems.

References

CVSS Scores

version 3.1