Known exploited vulnerability

CVE-2022-22965

criticalCVSS 3.1 9.8In CISA KEVEPSS 100%Published · n/a

The short answer

CVE-2022-22965 affects n/a Spring Framework and is rated critical (CVSS 9.8). CISA added it to the Known Exploited Vulnerabilities catalog on 2022-04-04: attackers are using it, so patch it first. Fixed versions are published for spring-beans (5.2.20.RELEASE, 5.3.18) and spring-webmvc (5.2.20.RELEASE, 5.3.18).

What it is

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.

Weakness: CWE-94.

Severity

9.8 critical

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploited (CISA KEV)

Yes, since Apr 4, 2022

Federal due date Apr 25, 2022

EPSS, next 30 days

100%

Higher than 100% of scored CVEs

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

What CISA says to do

Apply updates per vendor instructions.

Affected packages and fixed versions

PackageEcosystemFixed inAdvisory
org.springframework:spring-beansMaven5.2.20.RELEASE, 5.3.18GHSA-36p3-wjmg-h94x
org.springframework:spring-webmvcMaven5.2.20.RELEASE, 5.3.18GHSA-36p3-wjmg-h94x
org.springframework.boot:spring-boot-starter-webMaven2.5.12, 2.6.6GHSA-36p3-wjmg-h94x
org.springframework:spring-webfluxMaven5.2.20.RELEASE, 5.3.18GHSA-36p3-wjmg-h94x
org.springframework.boot:spring-boot-starter-webfluxMaven2.5.12, 2.6.6GHSA-36p3-wjmg-h94x

Is it in your code? Drop your lockfile into the free vulnerability check, or let vulnerability watch check your repository every day and open the upgrade as a pull request.

Affected products

Spring Framework. NVD's record lists the exact affected versions.

References

Questions

Is CVE-2022-22965 being exploited?

Yes. CISA added CVE-2022-22965 to its Known Exploited Vulnerabilities catalog on 2022-04-04, with a federal remediation due date of 2022-04-25.

How do I fix CVE-2022-22965?

Upgrade to a fixed version: org.springframework:spring-beans (Maven) 5.2.20.RELEASE or 5.3.18; org.springframework:spring-webmvc (Maven) 5.2.20.RELEASE or 5.3.18; org.springframework.boot:spring-boot-starter-web (Maven) 2.5.12 or 2.6.6; org.springframework:spring-webflux (Maven) 5.2.20.RELEASE or 5.3.18. CISA's required action: Apply updates per vendor instructions.

From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.

Related

Know the day a CVE lands in your code

Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.