Improper Data Validation in liboauth2
OpenIDC liboauth2
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| OpenIDC liboauth2 |
| No fix yet |
Original description
In liboauth2 the Demonstrating Proof-of-Possession (DPoP) verifier accepts a proof whose JSON Web Key (jwk) header contains private key material. RFC 9449 section 4.3 step 7 requires the verifier to reject such a proof but oauth2_token_verify() function returns success for a malformed DPoP proof that embeds the private Elliptic Curve (EC) key in the header.
This issue was fixed in version 2.3.0
From the CVE record · CERT-PL