CVE-2023-20866
Spring Session session ID can be logged to the standard output stream
Description
In Spring Session version 3.0.0, the session id can be logged to the standard output stream. This vulnerability exposes sensitive information to those who have access to the application logs and can be used for session hijacking. Specifically, an application is vulnerable if it is using HeaderHttpSessionIdResolver.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.session » spring-session-core | >= 3.0.0, < 3.0.1 | 3.0.1 |
Blast radius
0% of the dependent artifacts (0) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 30 |
| 2 hops | 16 |
Most used dependents
- org.springframework.session » spring-session-data-redis245 usages
- org.springframework.session » spring-session-jdbc70 usages
- org.springframework.session » spring-session-hazelcast18 usages
- org.springframework.session » spring-session-data-mongodb13 usages
- de.terrestris » bkg-testsuite-backend-base5 usages
- org.wildfly.clustering » wildfly-clustering-spring-session-core5 usages
- org.apereo.cas » cas-server-support-session-redis2 usages
- de.terrestris » bkg-testsuite-application1 usages
- de.terrestris » bkg-testsuite-reporting1 usages
- de.terrestris » bkg-testsuite-runner1 usages
- de.terrestris » bkg-userservice1 usages
- org.apereo.cas » cas-server-support-session-hazelcast1 usages
- org.apereo.cas » cas-server-support-session-jdbc1 usages
- org.apereo.cas » cas-server-support-session-mongo1 usages
- de.codecentric » spring-boot-admin-sample-servlet0 usages
Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2023-20866 | nvd.nist.gov |
| Package | spring-projects/spring-session | github.com |
| Web | spring-projects/spring-session issue #2215 | github.com |
| Web | spring-projects/spring-session commit c98a7be | github.com |
| Web | security/cve-2023-20866 | spring.io |
