GitHub Advisory Database
GHSA-368x-wmmg-hq5c
Apollo has potential access control security issue in eureka
Details
Impact
If users expose the apollo-configservice to the internet(which is not recommended), there are potential security issues since there is no authentication feature enabled for the built-in eureka service. Malicious hackers may access eureka directly to mock apollo-configservice and apollo-adminservice .
Patches
Login authentication for eureka was added in https://github.com/apolloconfig/apollo/pull/4663 and was released in v2.1.0.
Workarounds
To fix the potential issue without upgrading, simply follow the advice that does not expose apollo-configservice to the internet.
References
For more information
If you have any questions or comments about this advisory:
- Open an issue in issue
- Email us at [[email protected]](mailto:[email protected])
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.ctrip.framework.apollo:apollo | All versions before 2.1.0 (fixed in 2.1.0) |
References
- https://github.com/apolloconfig/apollo/security/advisories/GHSA-368x-wmmg-hq5c
- https://nvd.nist.gov/vuln/detail/CVE-2023-25570
- https://github.com/apolloconfig/apollo/pull/4663
- https://github.com/apolloconfig/apollo/commit/7df79bf8df6960433ed4ff782a54e3dfc74632bd
- https://github.com/apolloconfig/apollo
- https://github.com/apolloconfig/apollo/releases/tag/v2.1.0