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 21:34:00 UTC

[jira] [Closed] (DIRAPI-468) Oid.fromBytes crashes and misdecodes multi-byte OID arcs

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

Emmanuel Lécharny closed DIRAPI-468.
------------------------------------

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