Skip to main content
← All vulnerabilities
CVE-2022-3171GHSA-H4H5-3HR4-J3G2

Memory handling vulnerability in ProtocolBuffers Java core and lite

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.21.7, 3.20.3, 3.19.6, 3.16.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Google LLC Protocolbuffers

    From 3.21.7 · fixed in 3.21.7; From 3.20.3 · fixed in 3.20.3; From 3.19.6 · fixed in 3.19.6; From 3.16.3 · fixed in 3.16.3

  • com.google.protobuf:protobuf-javaMaven

    From 3.21.0-rc-1 · fixed in 3.21.7

  • com.google.protobuf:protobuf-kotlinMaven

    From 3.21.0-rc-1 · fixed in 3.21.7

  • google-protobufRubyGems

    From 3.21.0.rc.1 · fixed in 3.21.7

  • com.google.protobuf:protobuf-javaliteMaven

    From 3.21.0-rc-1 · fixed in 3.21.7

  • com.google.protobuf:protobuf-kotlin-liteMaven

    From 3.21.0-rc-1 · fixed in 3.21.7

  • com.google.protobuf:protobuf-javaMaven

    From 3.20.0-rc-1 · fixed in 3.20.3

  • com.google.protobuf:protobuf-javaMaven

    From 3.17.0-rc-1 · fixed in 3.19.6

  • com.google.protobuf:protobuf-javaMaven

    fixed in 3.16.3

  • com.google.protobuf:protobuf-kotlinMaven

    From 3.20.0-rc-1 · fixed in 3.20.3

  • com.google.protobuf:protobuf-kotlinMaven

    From 3.17.0-rc-1 · fixed in 3.19.6

  • com.google.protobuf:protobuf-kotlinMaven

    fixed in 3.16.3

  • google-protobufRubyGems

    From 3.20.0.rc.1 · fixed in 3.20.3

  • google-protobufRubyGems

    From 3.17.0.rc.1 · fixed in 3.19.6

  • google-protobufRubyGems

    fixed in 3.16.3

  • com.google.protobuf:protobuf-javaliteMaven

    From 3.20.0-rc-1 · fixed in 3.20.3

  • com.google.protobuf:protobuf-javaliteMaven

    From 3.17.0-rc-1 · fixed in 3.19.6

  • com.google.protobuf:protobuf-javaliteMaven

    fixed in 3.16.3

  • com.google.protobuf:protobuf-kotlin-liteMaven

    From 3.20.0-rc-1 · fixed in 3.20.3

  • com.google.protobuf:protobuf-kotlin-liteMaven

    From 3.17.0-rc-1 · fixed in 3.19.6

  • com.google.protobuf:protobuf-kotlin-liteMaven

    fixed in 3.16.3

References 4

GitHub · protocolbuffers/protobuf

lists.fedoraproject.org

security.gentoo.org