{"id":"CVE-2025-22233","published":"2025-05-16T19:14:07Z","modified":"2025-05-17T02:37:03Z","title":"Spring Framework DataBinder Case Sensitive Match Exception","vendor":"Spring","product":"Spring Framework","tier":"tail","description":{"text":"CVE-2024-38820 ensured Locale-independent, lowercase conversion for both the configured disallowedFields patterns and for request parameter names. However, there are still cases where it is possible to bypass the disallowedFields checks.\n\nAffected Spring Products and Versions\n\nSpring Framework:\n  *  6.2.0 - 6.2.6\n\n  *  6.1.0 - 6.1.19\n\n  *  6.0.0 - 6.0.27\n\n  *  5.3.0 - 5.3.42\n  *  Older, unsupported versions are also affected\n\n\n\nMitigation\n\nUsers of affected versions should upgrade to the corresponding fixed version.\n\nAffected version(s)Fix Version Availability 6.2.x\n 6.2.7\nOSS6.1.x\n 6.1.20\nOSS6.0.x\n 6.0.28\n Commercial https://enterprise.spring.io/ 5.3.x\n 5.3.43\n Commercial https://enterprise.spring.io/ \nNo further mitigation steps are necessary.\n\n\nGenerally, we recommend using a dedicated model object with properties only for data binding, or using constructor binding since constructor arguments explicitly declare what to bind together with turning off setter binding through the declarativeBinding flag. See the Model Design section in the reference documentation.\n\nFor setting binding, prefer the use of allowedFields (an explicit list) over disallowedFields.\n\nCredit\n\nThis issue was responsibly reported by the TERASOLUNA Framework Development Team from NTT DATA Group Corporation.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.1,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00442,"percentile":0.39299,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N&version=3.1","tags":[]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":7.86},{"name":"CVSS severity","points":2.17}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Framework","versions":[">= 6.2.0, <= 6.2.6",">= 6.1.0, <= 6.1.19",">= 6.0.0, <= 6.0.27",">= 5.3.0, <= 5.3.42"]}],"fixedVersions":[{"vendor":"Spring","product":"Spring Framework","versions":["6.2.7","6.1.20","6.0.28","5.3.43"]}],"capec":[{"id":"CAPEC-137","name":"Parameter Injection"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-17T02:36:53.736871Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework:spring-context","vulnerableRanges":[">=6.2.0, <6.2.7",">=6.1.0, <6.1.20",">=6.0.0, <=6.0.23","<=5.3.39"],"patched":["6.2.7","6.1.20"],"from":["GHSA-4wp7-92pw-q264"],"provenance":"source"}],"summary":{"text":"The Spring Framework's DataBinder component, which handles binding of request parameters to model object properties, contains a flaw in its disallowedFields checks: despite earlier lowercase-normalisation fixes, certain input forms can still bypass those checks, a case of improper input validation. An attacker with network access and low privileges (authenticated access) could exploit this with high attack complexity and no user interaction, gaining the ability to write to fields that the application meant to block, with a limited integrity impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:10Z"},"euvd":{"id":"EUVD-2025-15542","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-spring-framework-cve-2015-5211","parents":[{"from":"CVE-2024-38820","to":"CVE-2025-22233","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework:spring-context","fromFixed":"6.1.14","toFixed":"6.1.20","daysApart":210},{"kind":"same-code","provenance":"machine","files":["spring-context/src/main/java/org/springframework/validation/DataBinder.java"],"commits":["https://github.com/spring-projects/spring-framework/commit/23656aebc6c7d0f9faff1080981eb4d55eff296c","https://github.com/spring-projects/spring-framework/commit/edfcc6ffb188e4614ec9b212e3208b666981851c","https://github.com/spring-projects/spring-framework/commit/ee62701f5634e904e42e218baad142cea2bcd332"],"basis":"shared function","functions":["setDisallowedFields"]}]},{"from":"CVE-2022-22968","to":"CVE-2025-22233","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["spring-context/src/main/java/org/springframework/validation/DataBinder.java"],"commits":["https://github.com/spring-projects/spring-framework/commit/833e750175349ab4fd502109a8b41af77e25cdea","https://github.com/spring-projects/spring-framework/commit/a7cf19cec5ebd270f97a194d749e2d5701ad2ab7","https://github.com/spring-projects/spring-framework/commit/edfcc6ffb188e4614ec9b212e3208b666981851c","https://github.com/spring-projects/spring-framework/commit/ee62701f5634e904e42e218baad142cea2bcd332"],"basis":"shared function","functions":["checkAllowedFields"]}]}],"packageHistory":[{"cve":"CVE-2022-22968","published":"2022-04-14","fixed":"5.3.19","kev":false},{"cve":"CVE-2024-38820","published":"2024-10-18","fixed":"6.1.14","kev":false},{"cve":"CVE-2025-22233","published":"2025-05-16","fixed":"6.2.7","kev":false}],"package":"Maven:org.springframework:spring-context"}}