google-oauth-client-java: CVE-2021-22573 - IdTokenVerifier does not verify the signature of ID Token

Related Vulnerabilities: CVE-2021-22573  

Debian Bug report logs - #1010657
google-oauth-client-java: CVE-2021-22573 - IdTokenVerifier does not verify the signature of ID Token

version graph

Reported by: Neil Williams <codehelp@debian.org>

Date: Fri, 6 May 2022 08:51:01 UTC

Severity: grave

Tags: security

Found in version google-oauth-client-java/1.28.0-2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, codehelp@debian.org, team@security.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#1010657; Package src:google-oauth-client-java. (Fri, 06 May 2022 08:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Neil Williams <codehelp@debian.org>:
New Bug report received and forwarded. Copy sent to codehelp@debian.org, team@security.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Fri, 06 May 2022 08:51:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Neil Williams <codehelp@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: google-oauth-client-java: CVE-2021-22573 - IdTokenVerifier does not verify the signature of ID Token
Date: Fri, 06 May 2022 09:46:24 +0100
Source: google-oauth-client-java
Version: 1.28.0-2
Severity: grave
Tags: security
Justification: user security hole
X-Debbugs-Cc: codehelp@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for google-oauth-client-java.

CVE-2021-22573[0]:
| The vulnerability is that IDToken verifier does not verify if token is
| properly signed. Signature verification makes sure that the token's
| payload comes from valid provider, not from someone else. An attacker
| can provide a compromised token with custom payload. The token will
| pass the validation on the client side. We recommend upgrading to
| version 1.33.3 or above


> 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.

Fixed in upstream release 1.33.3

If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2021-22573
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22573

Please adjust the affected versions in the BTS as needed.



-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.17.0-1-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri May 6 13:11:29 2022; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.