DSA-5227: -1 libgoogle-gson-java -- security update

Published Sep 7, 2022
·
Updated

It was discovered that Gson, a Java library that can be used to convert Java Objects into their JSON representations and vice versa, was vulnerable to a deserialization flaw. An application would de-serialize untrusted data without sufficiently verifying that the resulting data will be valid, letting the attacker to control the state or the flow of the execution. This can lead to a denial of service or even the execution of arbitrary code.

Affected Software

2 affected components
debian/libgoogle-gson-java
debian/libgoogle-gson-java

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libgoogle-gson-java to a version that resolves this vulnerability.

    Patch DSA-5227-1

Event History

Sep 7, 2022
Advisory Published
12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using Gson are exposed if they deserialize untrusted data. The described impact depends on an attacker being able to influence the data passed to Gson for deserialization.

2

What could an attacker achieve?

An attacker may be able to control application state or execution flow through insufficiently validated deserialization. The advisory states this can result in denial of service or arbitrary code execution.

3

How can I determine whether my application may be affected?

Review where the application uses Gson to deserialize data and identify inputs originating from untrusted sources. Systems that only deserialize trusted data are not identified as exposed by the advisory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203