Skip to content

Known exploited

CVE-2022-22965 on Ubuntu 24.04 LTS: affected packages and fixed versions

17 packages on Ubuntu 24.04 LTS are affected by CVE-2022-22965 (Spring Framework JDK 9+ Remote Code Execution Vulnerability). A host is fixed once the package is at the version below or newer.

This vulnerability is known to be exploited. CISA added it to its catalog on April 4, 2022, with a remediation date of April 25, 2022 for US federal agencies.

Affected packages

PackageFixed inSeverityAdvisory
libspring-aop-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1
libspring-beans-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1
libspring-context-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1
libspring-context-support-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1
libspring-core-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1
libspring-expression-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1
libspring-instrument-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1
libspring-jdbc-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1
libspring-jms-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1
libspring-messaging-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1
libspring-orm-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1
libspring-oxm-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1
libspring-test-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1
libspring-transaction-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1
libspring-web-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1
libspring-web-portlet-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1
libspring-web-servlet-java 4.3.30-2ubuntu0.24.04.1~esm1 High USN-7165-1

Check a host

Show the installed versions and compare with the table above:

dpkg-query -W -f='${Package} ${Version}\n' libspring-aop-java libspring-beans-java libspring-context-java libspring-context-support-java

Update to the fixed build:

sudo apt-get update && sudo apt-get install --only-upgrade libspring-aop-java libspring-beans-java libspring-context-java libspring-context-support-java

The fixed version may look older than the upstream release that fixed the bug. Ubuntu 24.04 LTS carries the fix in the version it already ships.

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.

CVE-2022-22965 on other releases

Know which of your hosts are affected

SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.

Get started free Check one server now, no signup