[
https://issues.apache.org/jira/browse/DIRAPI-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lécharny closed DIRAPI-465.
------------------------------------
> Schema description escape scan reads past end of line
> -----------------------------------------------------
>
> Key: DIRAPI-465
> URL: https://issues.apache.org/jira/browse/DIRAPI-465
> Project: Directory Client API
> Issue Type: Bug
> Affects Versions: 2.1.8
> Reporter: Emmanuel Lécharny
> Priority: Major
> Fix For: 2.1.9
>
>
> A hostile server (or pre-TLS *MITM*) returns a _subschema_ entry whose
> _attributeTypes_ value is "_( 1.1 DESC 'x\\5" (line ends two characters after
> the backslash)_.
> The client calls _loadSchema()_, _getQDString_'s scan calls _isEscape_ at the
> backslash, _charAt(index+2)_ is past end-of-line, and *SIOOBE* propagates
> uncaught — the application's _catch(LdapException)_ does not fire and the
> thread dies
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]