[
https://issues.apache.org/jira/browse/DIRAPI-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18120633#comment-18120633
]
Emmanuel Lécharny commented on DIRAPI-442:
------------------------------------------
Found by Claude
> Unbounded DSML filter nesting causes StackOverflowError during parse
> --------------------------------------------------------------------
>
> Key: DIRAPI-442
> URL: https://issues.apache.org/jira/browse/DIRAPI-442
> Project: Directory Client API
> Issue Type: Bug
> Affects Versions: 2.1.8
> Reporter: Emmanuel Lécharny
> Priority: Major
> Fix For: 2.1.9
>
>
> An attacker sends a *DSML* batchRequest whose _searchRequest_ filter is
> *100,000* nested *<not>* elements; during _Dsmlv2Parser.getNextRequest()_ the
> recursive transform overflows the stack, the response is truncated, and
> repeated requests degrade or wedge the gateway's thread pool.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]