GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — IdTokenVerifier does not verify the signature of ID Token · Issue #786 · googleapis/google-oauth-java-client

IdTokenVerifier does not verify the signature of ID Token #786

New issue
Copy link
New issue
Copy link
Closed
#861
Closed
IdTokenVerifier does not verify the signature of ID Token#786
#861
Copy link
Assignees
TimurSadykov
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@tamjidrahat
tamjidrahat
opened on Dec 20, 2021
Issue body actions

google-oauth-java-client/google-oauth-client/src/main/java/com/google/api/client/auth/openidconnect/IdTokenVerifier.java

Line 152 in 5c202d6

public boolean verify(IdToken idToken) {

The verify method in IdTokenVerifier does not validate the signature before verifying the claims (e.g., iss, aud, etc.). This is also a violation of the ID Token Validation steps mentioned in the current OpenID Connect Spec (https://openid.net/specs/openid-connect-core-1_0.html#IDTokenValidation).

The spec requires to validate the signature of ID token for apps that cannot guarantee TLS communication, which is the case for this library. This library initiates a local server that can run on any client machine without TLS support. So, it is critical to validate the signature, before trusting the claims of an ID token, which can be received from a malicious service provider.

Thanks.

Activity

  1. Neenu1995
    assigned
    TimurSadykov
    on Dec 20, 2021
  2. Neenu1995
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Dec 20, 2021
  3. lesv
    added
    priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.
    and removed
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Dec 28, 2021
  4. lesv commented on Dec 28, 2021

    @lesv
    lesv
    on Dec 28, 2021
    Contributor
    More actions

    @silvolu FYI

  5. yoshi-automation
    added
    🚨This issue needs some love.
    on Dec 28, 2021
  6. lesv
    removed
    🚨This issue needs some love.
    on Dec 30, 2021
  7. yoshi-automation
    added
    🚨This issue needs some love.
    on Dec 30, 2021
  8. TimurSadykov commented on Jan 6, 2022

    @TimurSadykov
    TimurSadykov
    on Jan 6, 2022
    More actions

    The issue confirmed, investigating the best way to fix it

  9. Neenu1995
    removed
    🚨This issue needs some love.
    on Jan 10, 2022
  10. yoshi-automation
    added
    🚨This issue needs some love.
    on Jan 10, 2022
  11. TimurSadykov
    removed
    🚨This issue needs some love.
    on Feb 7, 2022
  12. TimurSadykov commented on Feb 7, 2022

    @TimurSadykov
    TimurSadykov
    on Feb 7, 2022
    More actions

    fix in progress

  13. yoshi-automation
    added
    🚨This issue needs some love.
    on Feb 7, 2022
  14. TimurSadykov
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    and removed
    priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.
    on Feb 28, 2022
  15. TimurSadykov commented on Feb 28, 2022

    @TimurSadykov
    TimurSadykov
    on Feb 28, 2022
    More actions

    fix ETA Mar 1st, dropping priority according to definitions.

  16. yoshi-automation
    removed
    🚨This issue needs some love.
    on Feb 28, 2022
  17. TimurSadykov
    closed this as completedin #861on Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @TimurSadykov
    TimurSadykov

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.