CVE-2022-3171: Memory handling vulnerability in ProtocolBuffers Java core and lite

Published Oct 12, 2022
·
Updated

A parsing issue with binary data in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n-forth between mutable and immutable forms, resulting in potentially long garbage collection pauses. We recommend updating to the versions mentioned above.

Other sources

A potential Denial of Service issue in protobuf-java core and lite was discovered in the parsing procedure for binary and text format data. Input streams containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n-forth between mutable and immutable forms, resulting in potentially long garbage collection pauses.

Red Hat

Apache Commons Codec could allow a remote attacker to obtain sensitive information, caused by the improper validation of input. An attacker could exploit this vulnerability using a method call to obtain sensitive information.

Affected Software

26 affected componentsFixes available
IBM Disconnected Log Collector<=v1.0 - v1.8.2
redhat/protobuf-java<3.21.7
3.21.7
redhat/protobuf-java<3.20.3
3.20.3
redhat/protobuf-java<3.19.6
3.19.6
redhat/protobuf-java<3.16.3
3.16.3
Google Google-protobuf Ruby<3.16.3
Google Google-protobuf Ruby>=3.17.0<3.19.6
Google Google-protobuf Ruby>=3.20.0<3.20.3
Google Google-protobuf Ruby>=3.21.0<3.21.7
Google protobuf-java<3.16.3
Google protobuf-java>=3.17.0<3.19.6
Google protobuf-java>=3.20.0<3.20.3
Google protobuf-java>=3.21.0<3.21.7
Google protobuf-javalite<3.16.3
Google protobuf-javalite>=3.17.0<3.19.6
Google protobuf-javalite>=3.20.0<3.20.3
Google protobuf-javalite>=3.21.0<3.21.7
Google protobuf-kotlin<3.16.3
Google protobuf-kotlin>=3.17.0<3.19.6
Google protobuf-kotlin>=3.20.0<3.20.3
Google protobuf-kotlin>=3.21.0<3.21.7
Google protobuf-kotlin-lite<3.16.3
Google protobuf-kotlin-lite>=3.17.0<3.19.6
Google protobuf-kotlin-lite>=3.20.0<3.20.3
Google protobuf-kotlin-lite>=3.21.0<3.21.7
Fedoraproject Fedora=37

Event History

Oct 12, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2022-3171.

2

What is the severity level of CVE-2022-3171?

CVE-2022-3171 has a severity level of high.

3

How can this vulnerability be exploited?

This vulnerability can be exploited through malicious inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields.

4

What is the affected software and versions?

The affected software is protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6, and 3.16.3.

5

What is the recommended remedy for this vulnerability?

To mitigate this vulnerability, update the protobuf-java package to version 3.21.7, 3.20.3, 3.19.6, or 3.16.3.

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