{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-22965","id":"CVE-2022-22965","title":"Remote Code Execution in Spring Framework","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 m","descriptionLong":"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.","published":"2022-04-01T22:17:30.000Z","updated":"2026-10-28T02:30:23.923099396Z","reserved":"2022-01-10T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"vmware","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["Spring Framework"],"affectedProducts":[{"vendor":"n/a","product":"Spring Framework","defaultStatus":null,"versions":[{"status":"affected","version":"Spring Framework versions 5.3.X prior to 5.3.18+, 5.2.x prior to 5.2.20+ and all old and unsupported versions"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.springframework:spring-beans","purl":"pkg:maven/org.springframework/spring-beans","ranges":["<5.2.20.RELEASE",">=5.3.0 <5.3.18"],"fixed":["5.2.20.RELEASE","5.3.18"],"advisory":"GHSA-36p3-wjmg-h94x"},{"ecosystem":"Maven","name":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","ranges":["<5.2.20.RELEASE",">=5.3.0 <5.3.18"],"fixed":["5.2.20.RELEASE","5.3.18"],"advisory":"GHSA-36p3-wjmg-h94x"},{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot-starter-web","purl":"pkg:maven/org.springframework.boot/spring-boot-starter-web","ranges":["<2.5.12",">=2.6.0 <2.6.6"],"fixed":["2.5.12","2.6.6"],"advisory":"GHSA-36p3-wjmg-h94x"},{"ecosystem":"Maven","name":"org.springframework:spring-webflux","purl":"pkg:maven/org.springframework/spring-webflux","ranges":["<5.2.20.RELEASE",">=5.3.0 <5.3.18"],"fixed":["5.2.20.RELEASE","5.3.18"],"advisory":"GHSA-36p3-wjmg-h94x"},{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot-starter-webflux","purl":"pkg:maven/org.springframework.boot/spring-boot-starter-webflux","ranges":["<2.5.12",">=2.6.0 <2.6.6"],"fixed":["2.5.12","2.6.6"],"advisory":"GHSA-36p3-wjmg-h94x"}],"cwes":["CWE-94","CWE-74"],"aliases":["GHSA-36p3-wjmg-h94x"],"references":[{"url":"https://tanzu.vmware.com/security/cve-2022-22965","tags":["x_refsource_MISC","x_transferred","Mitigation","Vendor Advisory","web"]},{"url":"https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-java-spring-rce-Zx9GUc67","tags":["vendor-advisory","x_refsource_CISCO","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","web"]},{"url":"http://packetstormsecurity.com/files/166713/Spring4Shell-Code-Execution.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","web"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-254054.pdf","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"http://packetstormsecurity.com/files/167011/Spring4Shell-Spring-Framework-Class-Property-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","web"]},{"url":"https://www.kb.cert.org/vuls/id/970766","tags":["US Government Resource","web"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22965","tags":["government-resource","US Government Resource","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22965.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22965","tags":["advisory"]},{"url":"https://github.com/spring-projects/spring-framework/commit/002546b3e4b8d791ea6acccb81eb3168f51abb15","tags":["web"]},{"url":"https://github.com/spring-projects/spring-boot/releases/tag/v2.5.12","tags":["web"]},{"url":"https://github.com/spring-projects/spring-boot/releases/tag/v2.6.6","tags":["web"]},{"url":"https://github.com/spring-projects/spring-framework","tags":["package"]},{"url":"https://github.com/spring-projects/spring-framework/releases/tag/v5.2.20.RELEASE","tags":["web"]},{"url":"https://github.com/spring-projects/spring-framework/releases/tag/v5.3.18","tags":["web"]},{"url":"https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":true,"kevAdded":"2022-04-04","kevDue":"2022-04-25","kevEntry":{"cveID":"CVE-2022-22965","vendorProject":"VMware","product":"Spring Framework","vulnerabilityName":"Spring Framework JDK 9+ Remote Code Execution Vulnerability","dateAdded":"2022-04-04","shortDescription":"Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding.","requiredAction":"Apply updates per vendor instructions.","dueDate":"2022-04-25","knownRansomwareCampaignUse":"Unknown","notes":"https://nvd.nist.gov/vuln/detail/CVE-2022-22965","cwes":["CWE-94"]},"ssvc":{"exploitation":"active","automatable":"yes","technicalImpact":"total"},"epss":0.99638,"epssPercentile":0.99949,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-22965","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22965","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-22965","ok":true,"note":"5 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-36p3-wjmg-h94x","ok":true,"note":"GHSA-36p3-wjmg-h94x"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2022-04-04"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-22965","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["spring"],"critical":["Exploited in the wild (CISA KEV)","CVSS 9.8 in a widely used technology","EPSS 100% with CVSS 9.8"],"attention":null}