[ 
https://issues.apache.org/jira/browse/DIRAPI-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lécharny resolved DIRAPI-451.
--------------------------------------
    Resolution: Fixed

Fixed with commit b427bd3db6fc5b8378b5682b57df350f2b2990cc  

>  Encoder recurses once per filter sibling and per control, stack overflow
> -------------------------------------------------------------------------
>
>                 Key: DIRAPI-451
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-451
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 2.1.8
>            Reporter: Emmanuel Lécharny
>            Priority: Major
>             Fix For: 2.1.9
>
>
> A directory-integrated web app accepts a user-provided filter expression, 
> parses it with _FilterParser_ and issues it via 
> _LdapNetworkConnection.search()_.
> The attacker submits _(|(cn=a0)(cn=a1)...)_ with 100,000 terms.
> Parsing succeeds, then _encodeFilters_ recurses 100,000 frames and throws 
> _StackOverflowError_ inside the connection's write path



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to