AlexRogalskiy / ws-documents

WebDocs
GNU General Public License v3.0
2 stars 0 forks source link

CVE-2023-20862 (Medium) detected in spring-security-web-5.7.4.jar #424

Open mend-bolt-for-github[bot] opened 6 months ago

mend-bolt-for-github[bot] commented 6 months ago

CVE-2023-20862 - Medium Severity Vulnerability

Vulnerable Library - spring-security-web-5.7.4.jar

Spring Security

Library home page: https://spring.io/projects/spring-security

Dependency Hierarchy: - webdocs-actuator-0.1.0-SNAPSHOT.jar (Root Library) - webdocs-commons-0.1.0-SNAPSHOT.jar - spring-boot-starter-security-2.7.5.jar - :x: **spring-security-web-5.7.4.jar** (Vulnerable Library)

Found in HEAD commit: 2cda59cc9ba15234ad74bb5750717c564aad3b18

Found in base branch: master

Vulnerability Details

In Spring Security, versions 5.7.x prior to 5.7.8, versions 5.8.x prior to 5.8.3, and versions 6.0.x prior to 6.0.3, the logout support does not properly clean the security context if using serialized versions. Additionally, it is not possible to explicitly save an empty security context to the HttpSessionSecurityContextRepository. This vulnerability can keep users authenticated even after they performed logout. Users of affected versions should apply the following mitigation. 5.7.x users should upgrade to 5.7.8. 5.8.x users should upgrade to 5.8.3. 6.0.x users should upgrade to 6.0.3.

Publish Date: 2023-04-19

URL: CVE-2023-20862

CVSS 3 Score Details (6.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2023-20862

Release Date: 2023-04-19

Fix Resolution: org.springframework.security:spring-security-web:5.7.8,5.8.3,6.0.3


Step up your Open Source Security Game with Mend here

github-actions[bot] commented 6 months ago

Thank you for opening an issue. If this issue is related to a bug, please follow the steps and provide the information outlined in the Troubleshooting Guide. Failure to follow these instructions may result in automatic closing of this issue.