Vulnerabilities / CVE-2022-22965

critical

CVE-2022-22965

spring-framework: RCE via Data Binding on JDK 9+

Published Modified CWE 94
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
Red Hat8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high), Ubuntu (high).

Description

A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.

Affected packages and fixed versions

SourcePackageFixed in
maven::GitHub Security Advisory Mavenorg.springframework.boot:spring-boot-starter-web, org.springframework.boot:spring-boot-starter-webflux, org.springframework:spring-beans and 2 more2.5.12, 2.6.6 and 1 more
debian 11libspring-javano fix listed
debian 12libspring-javano fix listed
debian 13libspring-javano fix listed
debian 14libspring-javano fix listed
echolibspring-javano fix listed
rapidfort debian 12libspring-javano fix listed
rapidfort debian 13libspring-javano fix listed
Red Hatrhvm-dependenciesno fix listed
seal maven::Seal Security Databaseorg.springframework:spring, seal.sp1.org.springframework:spring2.5.6+sp2p2 and 1 more
ubuntu 18.04-ESMlibspring-java4.3.22-1~18.04.1~esm1
ubuntu 20.04-ESMlibspring-java4.3.22-4ubuntu0.1~esm1
Show all 24 entries from 19 sources
SourcePackageFixed in
maven::GitHub Security Advisory Mavenorg.springframework.boot:spring-boot-starter-web2.5.12, 2.6.6
maven::GitHub Security Advisory Mavenorg.springframework.boot:spring-boot-starter-webflux2.5.12, 2.6.6
maven::GitHub Security Advisory Mavenorg.springframework:spring-beans5.2.20.RELEASE, 5.3.18
maven::GitHub Security Advisory Mavenorg.springframework:spring-webflux5.2.20.RELEASE, 5.3.18
maven::GitHub Security Advisory Mavenorg.springframework:spring-webmvc5.2.20.RELEASE, 5.3.18
debian 11libspring-javano fix listed
debian 12libspring-javano fix listed
debian 13libspring-javano fix listed
debian 14libspring-javano fix listed
echolibspring-javano fix listed
rapidfort debian 12libspring-javano fix listed
rapidfort debian 13libspring-javano fix listed
Red Hatrhvm-dependenciesno fix listed
seal maven::Seal Security Databaseorg.springframework:spring2.5.6+sp2p2
seal maven::Seal Security Databaseseal.sp1.org.springframework:spring2.5.6+sp999
ubuntu 18.04-ESMlibspring-java4.3.22-1~18.04.1~esm1
ubuntu 20.04-ESMlibspring-java4.3.22-4ubuntu0.1~esm1
ubuntu 22.04libspring-javano fix listed
ubuntu 24.04libspring-javano fix listed
ubuntu 24.10libspring-java4.3.30-2ubuntu0.24.10.1
ubuntu 25.04libspring-java4.3.30-2ubuntu1
ubuntu 25.10libspring-java4.3.30-2ubuntu1
ubuntu 26.04libspring-java4.3.30-2ubuntu1
ubuntu 26.10libspring-java4.3.30-2ubuntu1

References

All 26 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.