Repository navigation
The 2.4.20.x versions use a backwards incompatible session encryption key so existing sessions (created by versions <=2.4.19.x) are invalid.
Security
- headers: scrub the request headers named by
OIDCAuthNHeader,OIDCPassUserInfoAsand (with an emptyOIDCClaimPrefix)OIDCWhiteListedClaimsin any spelling (case,_for-), not only in the configured one; a client could supply e.g.x-remote-user(as every HTTP/2 client sends it) to the application, also unauthenticated withOIDCUnAuthAction pass, and theOIDCPassUserInfoAsnames were not scrubbed at all (GHSA-6c2f-rc7q-c43c) - metrics: return 404 instead of crashing the child process on the
OIDCMetricsPublishpath whenOIDCMetricsDatais not set - metrics: render the Prometheus output in linear time with bounded error labels; a scrape could exhaust memory
- discovery: honour
method=form_postonly on a CSRF-validated Discovery response, not on a 3rd-party initiated login - cache: bind encrypted cache values to their cache entry and refuse them as a session cookie (
OIDCSessionCacheFallbackToCookie) - authorization: run the content handler before
mod_cacheandmod_lua, which could serve protected content to unauthenticated users - metadata: do not refresh the
OIDCMetadataDirfile of anhttps://issuer on a request for itshttp://variant - cache: delete an entry under the previous
OIDCCryptoPassphrasetoo; a session created before a rotation survived logout - JOSE: refuse an AES GCM encrypted JWT without the full 128-bit tag, whatever the cjose version in use (CVE-2023-37464)
- JWKs: publish public key material only on the JWKs endpoint, whatever the configured key holds
- logout: refuse a back-channel logout token without an
issclaim, which crashed the child process withOIDCMetadataDir - requests: parse form-encoded parameters in linear time; a 1MB POST body took about 20 seconds of CPU
- authorization: only the claim that
Require claim <name>:<value>names decides; one named e.g.iss:httpscould satisfy a requirement oniss - claims: always pass the validated issuer in
OIDC_CLAIM_iss; a userinfoissclaim or a case variant could replace it - cookies: strip cookies (
OIDCStripCookies) in linear memory; a request with very many cookies could exhaust it - info hook: apply the session checks to an
inforequest that also namesjwksordpop - redirects: end the hostname in the
OIDCRedirectURLsAllowedexamples with/; NB: expressions copied from the old examples also match other hosts - logging: mask cookies, the
Authorizationheader and tokens in the debug log (OIDCDebugMaskSecrets), and an access token in an error message - discovery: forward each
#value inauth_request_paramsonly once, in linear time and memory; repeats in a long query string could exhaust memory
Features
- client authentication: add
OIDCProviderTokenEndpointAuthAud(.conf:token_endpoint_auth_aud) to set the client assertionaud:issuer(RFC 10070),tokenorlegacy(default) - client authentication: type a client assertion whose
audis the issuer identifier asclient-authentication+jwt(RFC 10070) - FAPI 2.0:
OIDCProfile FAPI20defaults totls_client_authorprivate_key_jwt, notclient_secret_basic; NB: setOIDCProviderTokenEndpointAuthexplicitly to keep using a client secret - OAuth 2.0 RS (deprecated): add
OIDCOAuthIntrospectionEndpointAuthAudto use the issuer identifier as theaudof the introspection client assertion (RFC 10070) - FAPI 2.0:
OIDCProfile FAPI20signsprivate_key_jwtwithPS256instead ofRS256by default and warns at startup about algorithms and curves it does not permit
Bugfixes
- metrics: fix a segmentation fault in the flush thread at shutdown/restart with
OIDCMetricsData; a regression in 2.4.20.4 - DPoP: sign the DPoP proof and the
OIDCPassUserInfoAs signed_jwtJWT withES384/ES512for a P-384/P-521 key instead of claimingES256 - subrequests: fix a use-after-free of request state values set in a subrequest, e.g. by
mod_includeormod_dir - OAuth 2.0 RS (deprecated): fix
remove_at_cachewithOIDCOAuthServerMetadataURL, which never found the cached entry - file cache: skip non-regular files when cleaning
OIDCCacheDir, so that a planted FIFO cannot block it - info hook: fix a memory leak of the session on each
inforequest that is refused - id_token: fix decrypting an id_token encrypted with
A128KW/A192KWand the client secret, which only worked withLogLevel debug - JWKs: fix a memory leak of a key that a later one with the same
kidreplaces - OAuth 2.0 RS (deprecated): no longer log the value of a token expiry claim that is not greater than 0
Commercial
- commercial subscription based support for large enterprise businesses is available via sales@openidc.com
- licensed binary packages for various other platforms such as Microsoft Windows, Red Hat Enterprise Linux 7, older Ubuntu and Debian distros, Oracle HTTP Server 12.x/14.x and IBM HTTP Server 9.x, are available under a commercial license and agreement via sales@openidc.com
- support for Redis/Valkey over TLS, Redis/Valkey (TLS) Sentinel, and Redis/Valkey (TLS) Cluster is available under a commercial license and agreement via sales@openidc.com
The RPM packages below are signed with the following RSA PGP key:
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBGh53lgBCADCyoOkfnE5h5rBLlf02oFpI/z2vUXK5W4T56xnNPu0/iIOxbBk
YX9rSypZFhfjv28lhGgelWEg28Ab/Yxs6l0obCgDEuFUDQ5Dv+N+YSMy67vtLwYW
9LM5p9fMN9bXOa62PwvtzRzh+xRyRBcIfMacGJC+SqUK6QhzC0lNwCsr1OaWjzon
mkaodwrloNMxEZVvFn63PvuQDZ3wwQty+0XpYiiChMssGBn6nmPDQJ7pDtQDkhfD
Z5FKY6K7AQJ4fneiVCLGngPBwTXBGcfWa+Y0HCS2ghQwDO6jYXd5GjowVDTjfMK3
QJ3e26Ox9X3V0Fl04R1i5EthEkAWGfy1lksvABEBAAG0HU9wZW5JREMgPHN1cHBv
cnRAb3BlbmlkYy5jb20+iQFRBBMBCgA7FiEEFdjWJA1IGDkAITSxnyZY1L0OSOMF
Amh53lgCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQnyZY1L0OSONG
Jgf+II0wG96R0g28Kp+R4AYzSdX0CEqr6OhwHHw4cFpLsHxZNhojo7I4OnLKEdfc
lFl37rE+hG3QpzD/b4S/fpPjd4hcLkguBQxtdxqZZVAIT8HWbveHRkI8MNnjOPwv
Hy6jBncMs1IT/URV2si/Q34+PLo8tvo/lXNa16svVl2DoYXO8MCszgCE1bx055EF
XPh4Teu5Y4OLHECSicMxrmN746dAD121zy4bLLx9mZ0erhLjvkj1vkFmlHFKyvwY
/pbSqXs9hW/wweW1oQ/xEIJWWS71PeoutUBjr0WC4sILnR5PBPZplgNh297Qex6g
qaW3io0tCH9KxU1tXYn/iL/hbQ==
=mlOy
-----END PGP PUBLIC KEY BLOCK-----