CVE-2022-4903: Codenameone core CodenameOne Pending Intent Vulnerability Vulnerability
CRITICALCVE-2022-4903 is a CRITICAL (CVSS 9.8) codenameone pending intent vulnerability vulnerability (CWE-668: Exposure of Resource to Wrong Sphere) affecting Codenameone core libraries in the Maven ecosystem. The issue involves codenameone pending intent vulnerability. Remediation is available by upgrading affected packages to version 7.0.71.
CVE-2022-4903 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2022-4903
To remediate this vulnerability, upgrade all affected Codenameone core 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.codenameone</groupId>
<artifactId>codenameone-core</artifactId>
<version>7.0.71</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.codenameone
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2022-4903, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.codenameone
Analyze the terminal output to locate any version of Codenameone core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.0.71), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.codenameone 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-668: Exposure of Resource to Wrong Sphere, where the product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource. In Codenameone core, 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-4903 Affected Codenameone core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.codenameone:codenameone-core
|
Maven |
< 7.0.71
|
7.0.71
|
References
Frequently Asked Questions
What is CVE-2022-4903?
Which Codenameone core versions are affected?
What version fixes CVE-2022-4903?
Is codenameone-core affected?
What is the CVSS score of CVE-2022-4903?
What CWE is associated with CVE-2022-4903?
How can I check Maven dependencies for CVE-2022-4903?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p6xq-9h8r-v544",
"modified" : "2024-01-16T15:57:57Z",
"published" : "2023-02-10T15:30:28Z",
"aliases" : [ "CVE-2022-4903" ],
"summary" : "CodenameOne Pending Intent vulnerability",
"details" : "A vulnerability was found in CodenameOne 7.0.70. The manipulation leads to use of implicit intent for sensitive communication. It is possible to launch the attack remotely. Upgrading to version 7.0.71 is able to address this issue. The name of the patch is dad49c9ef26a598619fc48d2697151a02987d478. It is recommended to upgrade the affected component. ",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.codenameone:codenameone-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "7.0.71"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-4903"
}, {
"type" : "WEB",
"url" : "https://github.com/codenameone/CodenameOne/issues/3583"
}, {
"type" : "WEB",
"url" : "https://github.com/codenameone/CodenameOne/commit/dad49c9ef26a598619fc48d2697151a02987d478"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/codenameone/CodenameOne"
}, {
"type" : "WEB",
"url" : "https://github.com/codenameone/CodenameOne/releases/tag/7.0.71"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.220470"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.220470"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-668", "CWE-927" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-16T15:57:57Z",
"nvd_published_at" : "2023-02-10T15:15:00Z"
}
}