[
https://issues.apache.org/jira/browse/DIRAPI-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lécharny resolved DIRAPI-468.
--------------------------------------
Resolution: Fixed
Fixed with commit 09faa5aaa4110e156105d27f472c7c910238623d
> Oid.fromBytes crashes and misdecodes multi-byte OID arcs
> --------------------------------------------------------
>
> Key: DIRAPI-468
> URL: https://issues.apache.org/jira/browse/DIRAPI-468
> Project: Directory Client API
> Issue Type: Bug
> Affects Versions: 2.1.8
> Reporter: Emmanuel Lécharny
> Priority: Minor
> Fix For: 2.1.9
>
>
> An attacker who can place *OID* bytes on a path a consumer decodes with
> _Oid.fromBytes _(e.g. a mechanism *OID* in a *GSSAPI*/*SPNEGO* token or a
> certificate extension processed by an *ApacheDS*-side consumer) sends an arc
> of 13 continuation bytes plus terminator: _fromBytes_ throws _AIOOBE_.
> Alternatively bytes encoding a huge second arc decode to a silently different
> *OID*, defeating equality checks/allowlists on the decoded string.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]