CVE-2022-22968

Improper Handling of Case Sensitivity in maven/org.springframework/spring-context

Identifiers

GHSA-g5mm-vmx4-3rg7, CVE-2022-22968

Package Slug

maven/org.springframework/spring-context

Vulnerability

Improper Handling of Case Sensitivity

Description

In Spring Framework versions 5.3.0 - 5.3.18, 5.2.0 - 5.2.20, and older unsupported versions, the patterns for disallowedFields on a DataBinder are case sensitive which means a field is not effectively protected unless it is listed with both upper and lower case for the first character of the field, including upper and lower case for the first character of all nested fields within the property path.

Affected Versions

All versions before 5.2.21, all versions starting from 5.3.0 before 5.3.19

Solution

Upgrade to versions 5.2.21, 5.3.19 or above.

Last Modified

2024-02-05

source