{"id":"CVE-2020-7692","published":"2020-07-09T13:20:16Z","modified":"2024-09-17T03:47:55Z","title":"Improper Authorization","vendor":null,"product":null,"tier":"tail","description":{"text":"PKCE support is not implemented in accordance with the RFC for OAuth 2.0 for Native Apps. Without the use of PKCE, the authorization code returned by an authorization server is not enough to guarantee that the client that issued the initial authorization request is the one that will be authorized. An attacker is able to obtain the authorization code using a malicious app on the client-side and use it to gain authorization to the protected resource. This affects the package com.google.oauth-client:google-oauth-client before 1.31.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01522,"percentile":0.75242,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JAVA-COMGOOGLEOAUTHCLIENT-575276","tags":["x_refsource_MISC"]},{"url":"https://github.com/googleapis/google-oauth-java-client/issues/469","tags":["x_refsource_MISC"]},{"url":"https://github.com/googleapis/google-oauth-java-client/commit/13433cd7dd06267fc261f0b1d4764f8e3432c824","tags":["x_refsource_MISC"]},{"url":"https://tools.ietf.org/html/rfc8252%23section-8.1","tags":["x_refsource_MISC"]},{"url":"https://tools.ietf.org/html/rfc7636%23section-1","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/r3db6ac73e0558d64f0b664f2fa4ef0a865e57c5de20f8321d3b48678%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/reae8909b264d1103f321b9ce1623c10c1ddc77dba9790247f2c0c90f%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":20.2,"factors":[{"name":"EPSS percentile","points":15.05},{"name":"CVSS severity","points":5.18}]},"affectedVersions":[{"vendor":"n/a","product":"com.google.oauth-client:google-oauth-client","versions":[">= unspecified, < 1.31.0"]}],"affected":[{"ecosystem":"Maven","package":"com.google.oauth-client:google-oauth-client","vulnerableRanges":["<1.31.0"],"patched":["1.31.0"],"from":["GHSA-f263-c949-w85g"],"provenance":"source"}],"summary":{"text":"The flaw is improper authorization in the google-oauth-client Java package (com.google.oauth-client:google-oauth-client, versions before 1.31.0), where PKCE support is not implemented as specified by the OAuth 2.0 for Native Apps RFC. An attacker can use a malicious app on the client side to obtain an authorization code and use it to gain authorization to a protected resource, and the attack requires network access and no privileges or user interaction, with a high attack complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:58Z"},"euvd":{"id":"EUVD-2021-2044","exploited":false,"provenance":"source"},"lineage":{"children":[{"from":"CVE-2020-7692","to":"CVE-2017-18924","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"This is similar to CVE-2020-7692.","from":"CVE.org","in":"CVE-2017-18924"}]}],"packageHistory":[{"cve":"CVE-2020-7692","published":"2020-07-09","fixed":"1.31.0","kev":false},{"cve":"CVE-2021-22573","published":"2022-05-03","fixed":"1.33.3","kev":false,"link":{"from":"CVE-2020-7692","to":"CVE-2021-22573","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.google.oauth-client:google-oauth-client","fromFixed":"1.31.0","toFixed":"1.33.3","daysApart":663}]}}],"package":"Maven:com.google.oauth-client:google-oauth-client"}}