Security mailing lists by PureSourceCode

CVE-2022-3171

HIGH 7.5CVSS 3.1

protobuf-java has a potential Denial of Service issue

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.

Published
12 Oct 2022
Last modified
10 Sep 2026
Assigned by
cve-coordination@google.com
NVD status
Modified
Weakness
CWE-20
Also known as
GHSA-h4h5-3hr4-j3g2
Sources
NVDJSONOSV GHSA-h4h5-3hr4-j3g2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 5.7 CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD cve-coordination@google.com (Secondary) CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD google google-protobuf
cpe:2.3:a:google:google-protobuf:*:*:*:*:*:ruby:*:*
< 3.16.3 3.16.3
NVD google google-protobuf
cpe:2.3:a:google:google-protobuf:*:*:*:*:*:ruby:*:*
>= 3.17.0, < 3.19.6 3.19.6
NVD google google-protobuf
cpe:2.3:a:google:google-protobuf:*:*:*:*:*:ruby:*:*
>= 3.20.0, < 3.20.3 3.20.3
NVD google google-protobuf
cpe:2.3:a:google:google-protobuf:*:*:*:*:*:ruby:*:*
>= 3.21.0, < 3.21.7 3.21.7
NVD google protobuf-java
cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*
< 3.16.3 3.16.3
NVD google protobuf-java
cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*
>= 3.17.0, < 3.19.6 3.19.6
NVD google protobuf-java
cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*
>= 3.20.0, < 3.20.3 3.20.3
NVD google protobuf-java
cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*
>= 3.21.0, < 3.21.7 3.21.7
NVD google protobuf-javalite
cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*
< 3.16.3 3.16.3
NVD google protobuf-javalite
cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*
>= 3.17.0, < 3.19.6 3.19.6
NVD google protobuf-javalite
cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*
>= 3.20.0, < 3.20.3 3.20.3
NVD google protobuf-javalite
cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*
>= 3.21.0, < 3.21.7 3.21.7
NVD google protobuf-kotlin
cpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:*
< 3.16.3 3.16.3
NVD google protobuf-kotlin
cpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:*
>= 3.17.0, < 3.19.6 3.19.6
NVD google protobuf-kotlin
cpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:*
>= 3.20.0, < 3.20.3 3.20.3
NVD google protobuf-kotlin
cpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:*
>= 3.21.0, < 3.21.7 3.21.7
NVD google protobuf-kotlin-lite
cpe:2.3:a:google:protobuf-kotlin-lite:*:*:*:*:*:*:*:*
< 3.16.3 3.16.3
NVD google protobuf-kotlin-lite
cpe:2.3:a:google:protobuf-kotlin-lite:*:*:*:*:*:*:*:*
>= 3.17.0, < 3.19.6 3.19.6
NVD google protobuf-kotlin-lite
cpe:2.3:a:google:protobuf-kotlin-lite:*:*:*:*:*:*:*:*
>= 3.20.0, < 3.20.3 3.20.3
NVD google protobuf-kotlin-lite
cpe:2.3:a:google:protobuf-kotlin-lite:*:*:*:*:*:*:*:*
>= 3.21.0, < 3.21.7 3.21.7
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
= 37
OSV Maven com.google.protobuf:protobuf-java >= 3.21.0-rc-1, < 3.21.7 3.21.7
OSV Maven com.google.protobuf:protobuf-kotlin >= 3.21.0-rc-1, < 3.21.7 3.21.7
OSV RubyGems google-protobuf >= 3.21.0.rc.1, < 3.21.7 3.21.7
OSV Maven com.google.protobuf:protobuf-javalite >= 3.21.0-rc-1, < 3.21.7 3.21.7
OSV Maven com.google.protobuf:protobuf-kotlin-lite >= 3.21.0-rc-1, < 3.21.7 3.21.7
OSV Maven com.google.protobuf:protobuf-java >= 3.20.0-rc-1, < 3.20.3 3.20.3
OSV Maven com.google.protobuf:protobuf-java >= 3.17.0-rc-1, < 3.19.6 3.19.6
OSV Maven com.google.protobuf:protobuf-java < 3.16.3 3.16.3
OSV Maven com.google.protobuf:protobuf-kotlin >= 3.20.0-rc-1, < 3.20.3 3.20.3
OSV Maven com.google.protobuf:protobuf-kotlin >= 3.17.0-rc-1, < 3.19.6 3.19.6
OSV Maven com.google.protobuf:protobuf-kotlin < 3.16.3 3.16.3
OSV RubyGems google-protobuf >= 3.20.0.rc.1, < 3.20.3 3.20.3
OSV RubyGems google-protobuf >= 3.17.0.rc.1, < 3.19.6 3.19.6
OSV RubyGems google-protobuf < 3.16.3 3.16.3
OSV Maven com.google.protobuf:protobuf-javalite >= 3.20.0-rc-1, < 3.20.3 3.20.3
OSV Maven com.google.protobuf:protobuf-javalite >= 3.17.0-rc-1, < 3.19.6 3.19.6
OSV Maven com.google.protobuf:protobuf-javalite < 3.16.3 3.16.3
OSV Maven com.google.protobuf:protobuf-kotlin-lite >= 3.20.0-rc-1, < 3.20.3 3.20.3
OSV Maven com.google.protobuf:protobuf-kotlin-lite >= 3.17.0-rc-1, < 3.19.6 3.19.6
OSV Maven com.google.protobuf:protobuf-kotlin-lite < 3.16.3 3.16.3

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 12 Oct 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 4 Oct 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.