CVE-2022-22968
Improper handling of case sensitivity in Spring Framework
Reported by vmware · Published April 14, 2022
spring-context is fixed in 5.3.19 and 5.2.21 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework:spring-context | Maven Central | 5.3.19, 5.2.21 |
| org.springframework:spring-core | Maven Central | 5.3.19, 5.2.21 |
| spring_framework | vmware | 5.3.18, 5.2.20, 5.2.0 |
| mysql_enterprise_monitor | oracle | 8.0.29 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Spring Framework | Spring Framework versions 5.3.0 - 5.3.18, 5.2.0 - 5.2.20, and older unsupported versions |
| Maven | org.springframework:spring-core | 0, 5.3.0 |
| n/a | Spring Framework | Spring Framework versions 5.3.0 - 5.3.18, 5.2.0 - 5.2.20, and older unsupported versions |
| Maven | org.springframework:spring-context | 0, 5.3.0 |
Timeline
- Apr 13, 2022 CVE Published
- Apr 15, 2022 EPSS Score (30 in total, the first dated here)
- Apr 3, 2025 PoC Published
- Mar 17, 2026 Security Advisory (35 in total, the first dated here)
- May 19, 2026 CVE Updated
- Jul 5, 2026 Coalition ESS Score
- Nov 3, 2026 Distribution Patch (34 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-22968
vulnetix vdb fixes CVE-2022-22968
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-22968/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- https://github.com/spring-projects/spring-framework/commit/833e750175349ab4fd502109a8b41af77e25cdea patch
- https://github.com/spring-projects/spring-framework/commit/a7cf19cec5ebd270f97a194d749e2d5701ad2ab7 patch
- https://nvd.nist.gov/vuln/detail/CVE-2022-22968 advisory
- https://github.com/advisories/GHSA-g5mm-vmx4-3rg7 advisory