USN-6692-1: Gson vulnerability

Publication date

12 March 2024

Overview

Gson could be made to crash if it opened a specially crafted file.


Packages

  • libgoogle-gson-java - A Java serialization/deserialization library to convert Java Objects into JSON and back

Details

It was discovered that Gson incorrectly handled deserialization of untrusted
input data. If a user or an automated system were tricked into opening a
specially crafted input file, a remote attacker could possibly use this issue
to cause a denial of service.

It was discovered that Gson incorrectly handled deserialization of untrusted
input data. If a user or an automated system were tricked into opening a
specially crafted input file, a remote attacker could possibly use this issue
to cause a denial of service.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.04 jammy libgoogle-gson-java –  2.8.8-1ubuntu0.1
20.04 focal libgoogle-gson-java –  2.8.5-3+deb10u1build0.20.04.1
18.04 bionic libgoogle-gson-java –  2.8.5-3~18.04.1~esm1  
16.04 xenial libgoogle-gson-java –  2.4-1ubuntu0.1~esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›