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/29 07:04:00 UTC

[jira] [Resolved] (DIRAPI-486) GeneralizedTime accepts arbitrary trailing garbage after fractional part

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

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

Fixed with commit 85f9835b0d18e2c9f00b9c60353dd0b5db0ac734 

> GeneralizedTime accepts arbitrary trailing garbage after fractional part
> ------------------------------------------------------------------------
>
>                 Key: DIRAPI-486
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-486
>             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-supplied *LDIF* entry (or attribute from a hostile server) carries _pwdChangedTime_ of '_20991231235959.9UNTIL-FOREVER_'.
> *OpenLDAP*/*389-ds* reject the value, but this parser accepts and canonicalizes it, so a stack mixing this library with another *LDAP* implementation reaches different conclusions about the same stored timestamp (account-expiry or password-age checks pass here and fail there).



--
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