[
https://issues.apache.org/jira/browse/DIRAPI-442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lécharny resolved DIRAPI-442.
--------------------------------------
Resolution: Fixed
Fixed with commit b98a21d2f758de50bf80fb0cae3edaf4569e0b58
> 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]