In Eclipse OpenJ9 prior to 0.15, the String.getBytes(int, int, byte[], int) method does not verify that the provided…
The Eclipse Foundation Eclipse OpenJ9
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| The Eclipse Foundation Eclipse OpenJ9 |
| No fix yet |
Original description
In Eclipse OpenJ9 prior to 0.15, the String.getBytes(int, int, byte[], int) method does not verify that the provided byte array is non-null nor that the provided index is in bounds when compiled by the JIT. This allows arbitrary writes to any 32-bit address or beyond the end of a byte array within Java code run under a SecurityManager.
From the CVE record · eclipse