Bug 1944631 - openshif authenticator should not accept non-hashed tokens
Summary: openshif authenticator should not accept non-hashed tokens
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: apiserver-auth
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.8.0
Assignee: Standa Laznicka
QA Contact: pmali
URL:
Whiteboard:
Depends On:
Blocks: 1949941
TreeView+ depends on / blocked
 
Reported: 2021-03-30 11:29 UTC by Standa Laznicka
Modified: 2021-07-27 22:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Deprecated Functionality
Doc Text:
OpenShift no longer accepts old-format OAuth tokens (those not prepended by sha256~) for authentication, and users will not be able to create such tokens.
Clone Of:
Environment:
Last Closed: 2021-07-27 22:56:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift kubernetes pull 667 0 None open Bug 1944631: openshift authenticator: don't allow old-style tokens 2021-04-15 06:50:58 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:56:56 UTC

Description Standa Laznicka 2021-03-30 11:29:06 UTC
Description of problem:
In 4.8, we're removing the ability to create non-hashed tokens via the API. The OpenShift authenticator validating these tokens should reflect the change and refuse to validate token reviews that include these tokens.

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

Additional info:
this is so that we don't forget about this aspect of the authenticator

Comment 5 errata-xmlrpc 2021-07-27 22:56:34 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security 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/RHSA-2021:2438


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