oidcc_plug is vulnerable to Improper Handling of Case Sensitivity
63
Medium Risk
Oidcc.Plug.Authorize records the request user agent for later session binding but reads the header with the mixed-case key User-Agent, which never matches Plug's downcased header names, so nil is stored in the session instead of the real value. On callback, Oidcc.Plug.AuthorizationCallback treats the stored nil as nothing to compare and returns success, so the user agent binding never fires even when check_useragent is enabled. The fix reads the header with the lowercase user-agent key so the stored value and comparison work.
You are affected if you are using a version that falls within the vulnerable range and you rely on the Oidcc.Plug.Authorize user agent session binding (check_useragent) as a session-replay defense.
oidcc_plug is vulnerable to Improper Handling of Case Sensitivity in versions 0.1.0 - 0.4.0.
Upgrade the oidcc_plug library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant