{"id":"CVE-2023-20866","aliases":["GHSA-r7qr-f43m-pxfr"],"summary":"In Spring Session version 3.0.0, the session id can be logged to the standard output stream.","published_at":"2023-04-13T00:00:00Z","modified_at":"2025-02-07T17:20:08Z","products":[],"rating":{"severity":"medium","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.006599999964237213,"percentile":0.5238800048828125,"date":"2026-11-19T00:00:00Z"},"priority":7.5,"details":"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_stack":[],"affected_other":[{"ecosystem":"Maven","package":"org.springframework.session:spring-session-core","purl":"pkg:maven/org.springframework.session/spring-session-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.0.1"}]}],"versions":["3.0.0"],"fixed":["3.0.1"],"provider":"osv","source":"GHSA-r7qr-f43m-pxfr","relation":"self"},{"ecosystem":"NVD","package":"vmware:spring_session","versions":["3.0.0"],"provider":"nvd","source":"CVE-2023-20866","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Data Grid 8","cpe":"cpe:/a:redhat:jboss_data_grid:8","status":"not_affected","packages":["spring-session"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-20866"},{"vendor":"Red Hat","product":"Red Hat JBoss Data Grid 7","cpe":"cpe:/a:redhat:jboss_data_grid:7","status":"not_affected","packages":["spring-session"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-20866"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 7","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:7","status":"not_affected","packages":["spring-session"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-20866"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","cpe":"cpe:/a:redhat:jbosseapxp","status":"not_affected","packages":["spring-session"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-20866"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"not_affected","packages":["devspaces-pluginregistry-rhel8-container%3Dnew"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-20866"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2023-20866","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2023-20866","license":"CC-BY-4.0","published_at":"2023-04-13T00:00:00Z","modified_at":"2025-02-07T16:41:34.511Z","summary":"In Spring Session version 3.0.0, the session id can be logged to the standard output stream.","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"CISA-ADP:CVE-2023-20866"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://spring.io/security/cve-2023-20866"}]},{"provider":"nvd","source_id":"CVE-2023-20866","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-20866","severity":[],"affected":[{"ecosystem":"NVD","package":"vmware:spring_session","versions":["3.0.0"],"provider":"nvd","source":"CVE-2023-20866","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-r7qr-f43m-pxfr","relation":"self","url":"https://osv.dev/vulnerability/GHSA-r7qr-f43m-pxfr","license":"CC-BY-4.0","published_at":"2023-04-13T21:30:27Z","modified_at":"2023-11-08T04:11:22.567296Z","summary":"Spring Session session ID can be logged to the standard output stream","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"GHSA-r7qr-f43m-pxfr"}],"affected":[{"ecosystem":"Maven","package":"org.springframework.session:spring-session-core","purl":"pkg:maven/org.springframework.session/spring-session-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.0.1"}]}],"versions":["3.0.0"],"fixed":["3.0.1"],"provider":"osv","source":"GHSA-r7qr-f43m-pxfr","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-20866"},{"type":"WEB","url":"https://github.com/spring-projects/spring-session/issues/2215"},{"type":"WEB","url":"https://github.com/spring-projects/spring-session/commit/c98a7be0e2ced7f795018f05397dca4bd5ca8212"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-session"},{"type":"WEB","url":"https://spring.io/security/cve-2023-20866"}]},{"provider":"redhat-vex","source_id":"CVE-2023-20866","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2023-20866","license":"CC-BY-4.0","published_at":"2023-04-13T00:00:00Z","modified_at":"2025-02-07T17:20:08Z","summary":"spring-session: Improper log of session id in standard output stream","details":"A flaw was found in Spring Session. If using HeaderHttpSessionIdResolver, the session id can be logged to the standard output stream. This may log sensitive information and could be used by an attacker for session hijacking.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"CVE-2023-20866"},{"type":"Red Hat","score":"Moderate","source":"CVE-2023-20866"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Data Grid 8","cpe":"cpe:/a:redhat:jboss_data_grid:8","status":"not_affected","packages":["spring-session"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-20866"},{"vendor":"Red Hat","product":"Red Hat JBoss Data Grid 7","cpe":"cpe:/a:redhat:jboss_data_grid:7","status":"not_affected","packages":["spring-session"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-20866"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 7","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:7","status":"not_affected","packages":["spring-session"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-20866"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","cpe":"cpe:/a:redhat:jbosseapxp","status":"not_affected","packages":["spring-session"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-20866"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"not_affected","packages":["devspaces-pluginregistry-rhel8-container%3Dnew"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-20866"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-20866.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-20866"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2193230"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-20866"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-20866"},{"type":"WEB","url":"https://spring.io/security/cve-2023-20866"}]}],"references":[{"type":"WEB","url":"https://spring.io/security/cve-2023-20866"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-20866"},{"type":"WEB","url":"https://github.com/spring-projects/spring-session/issues/2215"},{"type":"WEB","url":"https://github.com/spring-projects/spring-session/commit/c98a7be0e2ced7f795018f05397dca4bd5ca8212"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-session"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-20866.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-20866"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2193230"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-20866"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2023-20866","url":"https://www.cve.org/CVERecord?id=CVE-2023-20866","license":"CC-BY-4.0","modified_at":"2025-02-07T16:41:34.511Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2023-20866","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-20866","relation":"self"},{"provider":"osv","source_id":"GHSA-r7qr-f43m-pxfr","url":"https://osv.dev/vulnerability/GHSA-r7qr-f43m-pxfr","license":"CC-BY-4.0","modified_at":"2023-11-08T04:11:22.567296Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2023-20866","url":"https://access.redhat.com/security/cve/CVE-2023-20866","license":"CC-BY-4.0","modified_at":"2025-02-07T17:20:08Z","relation":"self"}]}
