{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/17288?format=json","vulnerability_id":"VCID-9tg6-2h2y-abah","summary":"Incomplete Cleanup\nIn 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.","aliases":[{"alias":"CVE-2023-20862"},{"alias":"GHSA-x873-6rgc-94jc"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/71345?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@5.7.8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-8dx4-u4aa-xuet"},{"vulnerability":"VCID-dwcq-d6nf-1ubn"},{"vulnerability":"VCID-u6vb-w2bu-ykfk"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@5.7.8"},{"url":"http://public2.vulnerablecode.io/api/packages/71346?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@5.8.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-7ceg-a9bh-fkau"},{"vulnerability":"VCID-8dx4-u4aa-xuet"},{"vulnerability":"VCID-dwcq-d6nf-1ubn"},{"vulnerability":"VCID-u6vb-w2bu-ykfk"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@5.8.3"},{"url":"http://public2.vulnerablecode.io/api/packages/71347?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.0.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-7ceg-a9bh-fkau"},{"vulnerability":"VCID-8dx4-u4aa-xuet"},{"vulnerability":"VCID-dwcq-d6nf-1ubn"},{"vulnerability":"VCID-u6vb-w2bu-ykfk"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.0.3"},{"url":"http://public2.vulnerablecode.io/api/packages/57139?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@5.7.8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vfqt-vr9q-2kfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.7.8"},{"url":"http://public2.vulnerablecode.io/api/packages/57140?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@5.8.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vfqt-vr9q-2kfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.8.3"},{"url":"http://public2.vulnerablecode.io/api/packages/57141?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@6.0.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vfqt-vr9q-2kfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@6.0.3"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/59011?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@5.7.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-8dx4-u4aa-xuet"},{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-bxeh-gaxy-6uch"},{"vulnerability":"VCID-dwcq-d6nf-1ubn"},{"vulnerability":"VCID-r15d-pzfc-3fg7"},{"vulnerability":"VCID-u6vb-w2bu-ykfk"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@5.7.0"},{"url":"http://public2.vulnerablecode.io/api/packages/58989?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@5.8.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-7ceg-a9bh-fkau"},{"vulnerability":"VCID-8dx4-u4aa-xuet"},{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-bxeh-gaxy-6uch"},{"vulnerability":"VCID-dwcq-d6nf-1ubn"},{"vulnerability":"VCID-u6vb-w2bu-ykfk"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@5.8.0"},{"url":"http://public2.vulnerablecode.io/api/packages/58990?format=json","purl":"pkg:maven/org.springframework.security/spring-security-core@6.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-7ceg-a9bh-fkau"},{"vulnerability":"VCID-8dx4-u4aa-xuet"},{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-dwcq-d6nf-1ubn"},{"vulnerability":"VCID-u6vb-w2bu-ykfk"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@6.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/57136?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@5.7.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-r15d-pzfc-3fg7"},{"vulnerability":"VCID-vfqt-vr9q-2kfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.7.0"},{"url":"http://public2.vulnerablecode.io/api/packages/340007?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@5.7.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-r15d-pzfc-3fg7"},{"vulnerability":"VCID-vfqt-vr9q-2kfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.7.1"},{"url":"http://public2.vulnerablecode.io/api/packages/340008?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@5.7.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-r15d-pzfc-3fg7"},{"vulnerability":"VCID-vfqt-vr9q-2kfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.7.2"},{"url":"http://public2.vulnerablecode.io/api/packages/340009?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@5.7.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-r15d-pzfc-3fg7"},{"vulnerability":"VCID-vfqt-vr9q-2kfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.7.3"},{"url":"http://public2.vulnerablecode.io/api/packages/340010?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@5.7.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-r15d-pzfc-3fg7"},{"vulnerability":"VCID-vfqt-vr9q-2kfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.7.4"},{"url":"http://public2.vulnerablecode.io/api/packages/340011?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@5.7.5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-vfqt-vr9q-2kfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.7.5"},{"url":"http://public2.vulnerablecode.io/api/packages/367938?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@5.7.6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-vfqt-vr9q-2kfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.7.6"},{"url":"http://public2.vulnerablecode.io/api/packages/367939?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@5.7.7","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-vfqt-vr9q-2kfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.7.7"},{"url":"http://public2.vulnerablecode.io/api/packages/57137?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@5.8.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-vfqt-vr9q-2kfp"},{"vulnerability":"VCID-zhfj-byuj-6uhk"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.8.0"},{"url":"http://public2.vulnerablecode.io/api/packages/367940?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@5.8.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-vfqt-vr9q-2kfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.8.1"},{"url":"http://public2.vulnerablecode.io/api/packages/367941?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@5.8.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-vfqt-vr9q-2kfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.8.2"},{"url":"http://public2.vulnerablecode.io/api/packages/57138?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@6.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-vfqt-vr9q-2kfp"},{"vulnerability":"VCID-zhfj-byuj-6uhk"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@6.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/367942?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@6.0.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-vfqt-vr9q-2kfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@6.0.1"},{"url":"http://public2.vulnerablecode.io/api/packages/367943?format=json","purl":"pkg:maven/org.springframework.security/spring-security-web@6.0.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-vfqt-vr9q-2kfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@6.0.2"},{"url":"http://public2.vulnerablecode.io/api/packages/94491?format=json","purl":"pkg:rpm/redhat/jenkins@2.426.3.1706515686-3?arch=el8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-26me-tpwn-7udz"},{"vulnerability":"VCID-432r-ukuw-4bgt"},{"vulnerability":"VCID-5jqb-k5g9-6bb4"},{"vulnerability":"VCID-6925-fwf4-f7df"},{"vulnerability":"VCID-9tg6-2h2y-abah"},{"vulnerability":"VCID-9xw3-4a4u-hbbb"},{"vulnerability":"VCID-as38-uuy9-5qhu"},{"vulnerability":"VCID-fnpa-1sqy-u7hw"},{"vulnerability":"VCID-q3k2-1x5q-buhy"},{"vulnerability":"VCID-y3mv-vmwd-tydt"},{"vulnerability":"VCID-z3th-j593-m7bg"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins@2.426.3.1706515686-3%3Farch=el8"}],"references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-20862.json","reference_id":"","reference_type":"","scores":[{"value":"6.3","scoring_system":"cvssv3","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"}],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-20862.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2023-20862","reference_id":"","reference_type":"","scores":[{"value":"0.00397","scoring_system":"epss","scoring_elements":"0.60465","published_at":"2026-05-05T12:55:00Z"},{"value":"0.00397","scoring_system":"epss","scoring_elements":"0.60507","published_at":"2026-04-29T12:55:00Z"},{"value":"0.00397","scoring_system":"epss","scoring_elements":"0.60519","published_at":"2026-04-26T12:55:00Z"},{"value":"0.00397","scoring_system":"epss","scoring_elements":"0.60506","published_at":"2026-04-24T12:55:00Z"},{"value":"0.00397","scoring_system":"epss","scoring_elements":"0.60522","published_at":"2026-04-21T12:55:00Z"},{"value":"0.00397","scoring_system":"epss","scoring_elements":"0.60533","published_at":"2026-04-18T12:55:00Z"},{"value":"0.00397","scoring_system":"epss","scoring_elements":"0.60525","published_at":"2026-04-16T12:55:00Z"},{"value":"0.00397","scoring_system":"epss","scoring_elements":"0.60483","published_at":"2026-04-13T12:55:00Z"},{"value":"0.00397","scoring_system":"epss","scoring_elements":"0.60437","published_at":"2026-04-02T12:55:00Z"},{"value":"0.00397","scoring_system":"epss","scoring_elements":"0.60504","published_at":"2026-04-12T12:55:00Z"},{"value":"0.00397","scoring_system":"epss","scoring_elements":"0.60517","published_at":"2026-04-11T12:55:00Z"},{"value":"0.00397","scoring_system":"epss","scoring_elements":"0.60497","published_at":"2026-04-09T12:55:00Z"},{"value":"0.00397","scoring_system":"epss","scoring_elements":"0.60464","published_at":"2026-04-04T12:55:00Z"},{"value":"0.00397","scoring_system":"epss","scoring_elements":"0.60481","published_at":"2026-04-08T12:55:00Z"},{"value":"0.00397","scoring_system":"epss","scoring_elements":"0.60432","published_at":"2026-04-07T12:55:00Z"},{"value":"0.00461","scoring_system":"epss","scoring_elements":"0.64332","published_at":"2026-05-16T12:55:00Z"},{"value":"0.00461","scoring_system":"epss","scoring_elements":"0.64219","published_at":"2026-05-07T12:55:00Z"},{"value":"0.00461","scoring_system":"epss","scoring_elements":"0.64264","published_at":"2026-05-09T12:55:00Z"},{"value":"0.00461","scoring_system":"epss","scoring_elements":"0.64231","published_at":"2026-05-11T12:55:00Z"},{"value":"0.00461","scoring_system":"epss","scoring_elements":"0.64256","published_at":"2026-05-12T12:55:00Z"},{"value":"0.00461","scoring_system":"epss","scoring_elements":"0.64309","published_at":"2026-05-14T12:55:00Z"},{"value":"0.00461","scoring_system":"epss","scoring_elements":"0.64317","published_at":"2026-05-15T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2023-20862"},{"reference_url":"https://github.com/spring-projects/spring-security","reference_id":"","reference_type":"","scores":[{"value":"6.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/spring-projects/spring-security"},{"reference_url":"https://security.netapp.com/advisory/ntap-20230526-0002","reference_id":"","reference_type":"","scores":[{"value":"6.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://security.netapp.com/advisory/ntap-20230526-0002"},{"reference_url":"https://security.netapp.com/advisory/ntap-20230526-0002/","reference_id":"","reference_type":"","scores":[{"value":"6.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-05T15:45:51Z/"}],"url":"https://security.netapp.com/advisory/ntap-20230526-0002/"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=2227788","reference_id":"2227788","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2227788"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2023-20862","reference_id":"CVE-2023-20862","reference_type":"","scores":[{"value":"6.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-20862"},{"reference_url":"https://spring.io/security/cve-2023-20862","reference_id":"CVE-2023-20862","reference_type":"","scores":[{"value":"6.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-05T15:45:51Z/"}],"url":"https://spring.io/security/cve-2023-20862"},{"reference_url":"https://github.com/advisories/GHSA-x873-6rgc-94jc","reference_id":"GHSA-x873-6rgc-94jc","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-x873-6rgc-94jc"},{"reference_url":"https://access.redhat.com/errata/RHSA-2024:0778","reference_id":"RHSA-2024:0778","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2024:0778"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":459,"name":"Incomplete Cleanup","description":"The product does not properly clean up and remove temporary or supporting resources after they have been used."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."}],"exploits":[],"severity_range_score":"4.0 - 6.9","exploitability":"0.5","weighted_severity":"6.2","risk_score":3.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-9tg6-2h2y-abah"}