Improper authorization in Spring Cloud Config



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2025-22232
CWE-ID CWE-285
Exploitation vector Network
Public exploit N/A
Vulnerable software
Spring Cloud Config
Server applications / Application servers

Vendor Pivotal

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Improper authorization

EUVDB-ID: #VU107154

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2025-22232

CWE-ID: CWE-285 - Improper Authorization

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to an error when handling Vault tokens sent via the X-CONFIG-TOKEN header, as the application may not use Vault token sent by the client. The SessionManager persists the first token it retrieves and will continue to use that token even if client requests to the Spring Cloud Config Server include a X-CONFIG-TOKEN header with a different value. A remote attacker can bypass authorization checks and gain unauthorized access to the application.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Spring Cloud Config: 2.2.1 - 4.2.0

CPE2.3 External links

https://spring.io/security/cve-2025-22232


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###