CVE-2022-3510: Parsing issue in protobuf message-type extension

Published Nov 11, 2022
·
Updated

A parsing issue similar to CVE-2022-3171, but with Message-Type Extensions 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

Parsing issue in protobuf message-type extension

— Microsoft

protobuf-java core and lite are vulnerable to a denial of service, caused by a flaw in the parsing procedure for Message-Type Extensions. By sending non-repeated embedded messages with repeated or unknown fields, a remote authenticated attacker could exploit this vulnerability to cause long garbage collection pauses.

Affected Software

27 affected componentsFixes available
IBM Disconnected Log Collector<=v1.0 - v1.8.2
Google protobuf-java>=3.16.0<3.16.3
Google protobuf-java>=3.19.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.0<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
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
maven/com.google.protobuf:protobuf-javalite>=3.0.0<3.16.3
3.16.3
maven/com.google.protobuf:protobuf-java>=3.0.0<3.16.3
3.16.3
maven/com.google.protobuf:protobuf-javalite>=3.21.0<3.21.7
3.21.7
maven/com.google.protobuf:protobuf-javalite>=3.20.0<3.20.3
3.20.3
maven/com.google.protobuf:protobuf-javalite>=3.17.0<3.19.6
3.19.6
maven/com.google.protobuf:protobuf-java>=3.21.0<3.21.7
3.21.7
maven/com.google.protobuf:protobuf-java>=3.20.0<3.20.3
3.20.3
maven/com.google.protobuf:protobuf-java>=3.17.0<3.19.6
3.19.6
debian/protobuf<3.21.9-3
3.21.9-3
debian/protobuf<3.21.9-3
3.21.9-3
debian/protobuf<3.21.9-3
3.21.9-3
debian/protobuf
3.21.7-13.21.9-3
All of the following
azurelinux/protobuf<0:3.19.6-20.azl4
0:3.19.6-20.azl4
Microsoft Azure Linux=4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/protobuf-java to a version that resolves this vulnerability.

    Fixed in 3.21.7
  2. Upgrade

    Upgrade redhat/protobuf-java to a version that resolves this vulnerability.

    Fixed in 3.20.3
  3. Upgrade

    Upgrade redhat/protobuf-java to a version that resolves this vulnerability.

    Fixed in 3.19.6
  4. Upgrade

    Upgrade redhat/protobuf-java to a version that resolves this vulnerability.

    Fixed in 3.16.3
  5. Upgrade

    Upgrade maven/com.google.protobuf:protobuf-javalite to a version that resolves this vulnerability.

    Fixed in 3.16.3
  6. Upgrade

    Upgrade maven/com.google.protobuf:protobuf-java to a version that resolves this vulnerability.

    Fixed in 3.16.3
  7. Upgrade

    Upgrade maven/com.google.protobuf:protobuf-javalite to a version that resolves this vulnerability.

    Fixed in 3.21.7
  8. Upgrade

    Upgrade maven/com.google.protobuf:protobuf-javalite to a version that resolves this vulnerability.

    Fixed in 3.20.3
  9. Upgrade

    Upgrade maven/com.google.protobuf:protobuf-javalite to a version that resolves this vulnerability.

    Fixed in 3.19.6
  10. Upgrade

    Upgrade maven/com.google.protobuf:protobuf-java to a version that resolves this vulnerability.

    Fixed in 3.21.7
  11. Upgrade

    Upgrade maven/com.google.protobuf:protobuf-java to a version that resolves this vulnerability.

    Fixed in 3.20.3
  12. Upgrade

    Upgrade maven/com.google.protobuf:protobuf-java to a version that resolves this vulnerability.

    Fixed in 3.19.6
  13. Upgrade

    Upgrade debian/protobuf to a version that resolves this vulnerability.

    Fixed in 3.21.9-3
  14. Upgrade

    Upgrade debian/protobuf to a version that resolves this vulnerability.

    Fixed in 3.21.7-1Fixed in 3.21.9-3
  15. Upgrade

    Upgrade azurelinux/protobuf to a version that resolves this vulnerability.

    Fixed in 0:3.19.6-20.azl4
  16. Upgrade

    Upgrade protobuf-java core to a version that resolves this vulnerability.

    Fixed in 3.21.7
  17. Upgrade

    Upgrade protobuf-java core to a version that resolves this vulnerability.

    Fixed in 3.20.3
  18. Upgrade

    Upgrade protobuf-java core to a version that resolves this vulnerability.

    Fixed in 3.19.6
  19. Upgrade

    Upgrade protobuf-java core to a version that resolves this vulnerability.

    Fixed in 3.16.3
  20. Upgrade

    Upgrade protobuf-java lite to a version that resolves this vulnerability.

    Fixed in 3.21.7
  21. Upgrade

    Upgrade protobuf-java lite to a version that resolves this vulnerability.

    Fixed in 3.20.3
  22. Upgrade

    Upgrade protobuf-java lite to a version that resolves this vulnerability.

    Fixed in 3.19.6
  23. Upgrade

    Upgrade protobuf-java lite to a version that resolves this vulnerability.

    Fixed in 3.16.3

Event History

Nov 11, 2022
CVE Published
via MITRE·04:35 PM
Data Sourced
via MITRE·04:35 PM
DescriptionSeverity
Dec 12, 2022
Data Sourced
01:15 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·01:15 PM
DescriptionAffected Software
Advisory Published
via GitHub·03:30 PM
Data Sourced
via GitHub·03:30 PM
DescriptionSeverityWeaknessAffected Software
Jul 27, 2023
Data Sourced
via Red Hat·01:26 PM
DescriptionSeverityAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·05:05 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·05:05 AM
Affected Software
Nov 3, 2026
Data Sourced
via OSV·08:04 AM
Severity

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2022-3510?

CVE-2022-3510 is a vulnerability in protobuf-java core and lite that allows a remote authenticated attacker to cause a denial of service.

2

How can an attacker exploit CVE-2022-3510?

An attacker can exploit CVE-2022-3510 by sending non-repeated embedded messages with repeated or unknown fields.

3

What is the severity of CVE-2022-3510?

The severity of CVE-2022-3510 is medium with a CVSS score of 5.7.

4

Which versions of protobuf-java are affected by CVE-2022-3510?

Protobuf-java versions 3.21.7, 3.20.3, 3.19.6, and 3.16.3 are affected by CVE-2022-3510.

5

How can I fix CVE-2022-3510?

To fix CVE-2022-3510, update protobuf-java to version 3.21.7 or apply the appropriate remedy provided by the vendor.

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