CVE-2024-43397: Apollo Apollo-portal Has Potential Unauthorized Access Vulnerability
MODERATECVE-2024-43397 is a MODERATE (CVSS 4.3) apollo-portal has potential unauthorized access vulnerability (CWE-284: Improper Access Control) affecting Apollo libraries in the Maven ecosystem. The issue involves apollo-portal has potential unauthorized access issue. Remediation is available by upgrading affected packages to version 2.3.0.
CVE-2024-43397 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2024-43397
To remediate this vulnerability, upgrade all affected Apollo 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.ctrip.framework.apollo</groupId>
<artifactId>apollo</artifactId>
<version>2.3.0</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.ctrip.framework.apollo
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-43397, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.ctrip.framework.apollo
Analyze the terminal output to locate any version of Apollo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.ctrip.framework.apollo 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Apollo, 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-2024-43397 Affected Apollo Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.ctrip.framework.apollo:apollo
|
Maven |
< 2.3.0
|
2.3.0
|
References
Frequently Asked Questions
What is CVE-2024-43397?
Which Apollo versions are affected?
What version fixes CVE-2024-43397?
Is apollo affected?
What is the CVSS score of CVE-2024-43397?
What CWE is associated with CVE-2024-43397?
How can I check Maven dependencies for CVE-2024-43397?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c6c3-h4f7-3962",
"modified" : "2024-08-20T18:36:40Z",
"published" : "2024-08-20T18:36:40Z",
"aliases" : [ "CVE-2024-43397" ],
"summary" : "apollo-portal has potential unauthorized access issue",
"details" : "### Impact\nA vulnerability exists in the synchronization configuration feature that allows users to craft specific requests to bypass permission checks. This exploit enables them to modify a namespace without the necessary permissions.\n\n### Patches\nThe issue was addressed with an input parameter check in #5192, which was released in version [2.3.0](https://github.com/apolloconfig/apollo/releases/tag/v2.3.0).\n\n### Workarounds\nTo mitigate the issue without upgrading, follow the recommended practices to prevent Apollo from being exposed to the internet.\n\n### Credits\nThe vulnerability was reported and reproduced by [Lakeswang](https://github.com/Lakes-bitgetsec).\n\n### References\nFor any questions or comments regarding this advisory:\n* Open an issue in [issue](https://github.com/apolloconfig/apollo/issues)\n* Email us at [apollo-config@googlegroups.com](mailto:apollo-config@googlegroups.com)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.ctrip.framework.apollo:apollo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/apolloconfig/apollo/security/advisories/GHSA-c6c3-h4f7-3962"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-43397"
}, {
"type" : "WEB",
"url" : "https://github.com/apolloconfig/apollo/pull/5192"
}, {
"type" : "WEB",
"url" : "https://github.com/apolloconfig/apollo/commit/f55b419145bf9d4f2f51dd4cd45108229e8d97ed"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apolloconfig/apollo"
}, {
"type" : "WEB",
"url" : "https://github.com/apolloconfig/apollo/releases/tag/v2.3.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-20T18:36:40Z",
"nvd_published_at" : "2024-08-20T15:15:23Z"
}
}