wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
742 stars 720 forks source link

Memory Leak caused in Adaptive Authentication Functionality #18132

Closed shanggeeth closed 6 months ago

shanggeeth commented 9 months ago

Describe the issue: There's a memory leak caused by usage of Nashorn Script Engine while executing adaptive authentication scripts. This results in

How to reproduce:

Expected behaviour:

Environment information (Please complete the following information; remove any unnecessary fields) :

shanggeeth commented 9 months ago

The immediate fix is added via