CVE-2022-2390: Play services basement Google Play Services SDK Leads Vulnerability
MODERATECVE-2022-2390 is a MODERATE (CVSS 6.1) google play services sdk leads vulnerability (CWE-471: Modification of Assumed-Immutable Data (MAID)) affecting Play services basement libraries in the Maven ecosystem. The issue involves google play services sdk leads to apps having incorrectly set mutability flag. Remediation is available by upgrading affected packages to version 18.0.2.
CVE-2022-2390 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N).
How to Fix CVE-2022-2390
To remediate this vulnerability, upgrade all affected Play services basement dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.google.android.gms</groupId>
<artifactId>play-services-basement</artifactId>
<version>18.0.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.google.android.gms
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2022-2390, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.google.android.gms
Analyze the terminal output to locate any version of Play services basement in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 18.0.2), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.google.android.gms command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-471: Modification of Assumed-Immutable Data (MAID), where the product does not properly protect an assumed-immutable element from being modified by an attacker. In Play services basement, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-2390 Affected Play services basement Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.google.android.gms:play-services-basement
|
Maven |
< 18.0.2
|
18.0.2
|
References
Frequently Asked Questions
What is CVE-2022-2390?
Which Play services basement versions are affected?
What version fixes CVE-2022-2390?
Is play-services-basement affected?
What is the CVSS score of CVE-2022-2390?
What CWE is associated with CVE-2022-2390?
How can I check Maven dependencies for CVE-2022-2390?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cm6r-892j-jv2g",
"modified" : "2022-08-18T19:13:34Z",
"published" : "2022-08-13T00:00:43Z",
"aliases" : [ "CVE-2022-2390" ],
"summary" : "Google Play Services SDK leads to apps having incorrectly set mutability flag",
"details" : "Apps developed with Google Play Services SDK incorrectly had the mutability flag set to PendingIntents that were passed to the Notification service. As Google Play services SDK is so widely used, this bug affects many applications. For an application affected, this bug will let the attacker, gain the access to all non-exported providers and/or gain the access to other providers the victim has permissions. We recommend upgrading to version 18.0.2 of the Play Service SDK as well as rebuilding and redeploying apps.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.google.android.gms:play-services-basement"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "18.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-2390"
}, {
"type" : "WEB",
"url" : "https://developers.google.com/android/guides/releases#may_03_2022"
}, {
"type" : "WEB",
"url" : "https://mvnrepository.com/artifact/com.google.android.gms/play-services-basement/18.0.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-471" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-08-18T19:13:34Z",
"nvd_published_at" : "2022-08-12T11:15:00Z"
}
}