You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lécharny (Jira)" <ji...@apache.org> on 2026/09/28 19:24:00 UTC

[jira] [Created] (DIRAPI-465) Schema description escape scan reads past end of line

Emmanuel Lécharny created DIRAPI-465:
----------------------------------------

             Summary: 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
             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: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org