Bug 1966849 - rgw/sts: OIDC JWT validation does not use modulus and exponent for token validation. Add support for the same.
Summary: rgw/sts: OIDC JWT validation does not use modulus and exponent for token vali...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 4.2
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.2z3
Assignee: Pritha Srivastava
QA Contact: Tejas
URL:
Whiteboard:
Depends On:
Blocks: 2006178
TreeView+ depends on / blocked
 
Reported: 2021-06-02 03:52 UTC by Pritha Srivastava
Modified: 2021-09-27 18:26 UTC (History)
10 users (show)

Fixed In Version: ceph-14.2.11-187.el8cp, ceph-14.2.11-187.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2006178 (view as bug list)
Environment:
Last Closed: 2021-09-27 18:26:22 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 41525 0 None open rgw/sts: enhancements and improvements to JWT validation 2021-06-02 03:52:28 UTC
Red Hat Issue Tracker RHCEPH-128 0 None None None 2021-08-24 05:26:46 UTC
Red Hat Product Errata RHBA-2021:3670 0 None None None 2021-09-27 18:26:41 UTC

Description Pritha Srivastava 2021-06-02 03:52:28 UTC
Description of problem:

OIDC JWT validation does not use modulus and exponent for token validation in the incoming JSON Web Key Set.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Create an OIDC provider in RGW with the Url of an OIDC Provider
2. Use an Access Token generated by the IDP to invoke AssumeRoleWithWebIdentity, with modulus and exponent set in JWKS (and not x5c)


Actual results:
The token is not validated

Expected results:
The token should be validated using the parameters in JWKS.

Additional info:

Comment 1 RHEL Program Management 2021-06-02 03:52:36 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 13 errata-xmlrpc 2021-09-27 18:26:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 4.2 Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:3670


Note You need to log in before you can comment on or make changes to this bug.