mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8249627: Degrade Thread.suspend and Thread.resume
Reviewed-by: cjplummer, sspitsyn, dholmes, jpai
This commit is contained in:
parent
bc12e9553d
commit
1abf971b93
15 changed files with 113 additions and 232 deletions
|
@ -171,9 +171,8 @@ import java.lang.module.ModuleFinder;
|
|||
* <tr>
|
||||
* <th scope="row">modifyThread</th>
|
||||
* <td>Modification of threads, e.g., via calls to Thread
|
||||
* {@code interrupt, stop, suspend, resume, setDaemon, setPriority,
|
||||
* setName} and {@code setUncaughtExceptionHandler}
|
||||
* methods</td>
|
||||
* {@code interrupt, setDaemon, setPriority, setName} and
|
||||
* {@code setUncaughtExceptionHandler} methods</td>
|
||||
* <td>This allows an attacker to modify the behaviour of
|
||||
* any thread in the system.</td>
|
||||
* </tr>
|
||||
|
@ -181,9 +180,7 @@ import java.lang.module.ModuleFinder;
|
|||
* <tr>
|
||||
* <th scope="row">modifyThreadGroup</th>
|
||||
* <td>modification of thread groups, e.g., via calls to ThreadGroup
|
||||
* {@code destroy}, {@code getParent}, {@code resume},
|
||||
* {@code setDaemon}, {@code setMaxPriority}, {@code stop},
|
||||
* and {@code suspend} methods</td>
|
||||
* {@code getParent}, {@code setDaemon}, and {@code setMaxPriority} methods</td>
|
||||
* <td>This allows an attacker to create thread groups and
|
||||
* set their run priority.</td>
|
||||
* </tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue