{"id":"CVE-2022-3171","published":"2022-10-12T00:00:00Z","modified":"2025-04-21T13:47:57Z","title":"Memory handling vulnerability in ProtocolBuffers Java core and lite","vendor":"Google","product":"Protocolbuffers","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01278,"percentile":0.70701,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3/","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202301-09","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP/","tags":["vendor-advisory"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":14.14},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"google","affectedVersions":[{"vendor":"Google LLC","product":"Protocolbuffers","versions":[">= 3.21.7, < 3.21.7",">= 3.20.3, < 3.20.3",">= 3.19.6, < 3.19.6",">= 3.16.3, < 3.16.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-21T13:36:41.564407Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.google.protobuf:protobuf-java","vulnerableRanges":[">=3.21.0-rc-1, <3.21.7",">=3.20.0-rc-1, <3.20.3",">=3.17.0-rc-1, <3.19.6","<3.16.3"],"patched":["3.21.7","3.20.3","3.19.6","3.16.3"],"from":["GHSA-h4h5-3hr4-j3g2"],"provenance":"source"},{"ecosystem":"Maven","package":"com.google.protobuf:protobuf-kotlin","vulnerableRanges":[">=3.21.0-rc-1, <3.21.7",">=3.20.0-rc-1, <3.20.3",">=3.17.0-rc-1, <3.19.6","<3.16.3"],"patched":["3.21.7","3.20.3","3.19.6","3.16.3"],"from":["GHSA-h4h5-3hr4-j3g2"],"provenance":"source"},{"ecosystem":"RubyGems","package":"google-protobuf","vulnerableRanges":[">=3.21.0.rc.1, <3.21.7",">=3.20.0.rc.1, <3.20.3",">=3.17.0.rc.1, <3.19.6","<3.16.3"],"patched":["3.21.7","3.20.3","3.19.6","3.16.3"],"from":["GHSA-h4h5-3hr4-j3g2"],"provenance":"source"},{"ecosystem":"Maven","package":"com.google.protobuf:protobuf-javalite","vulnerableRanges":[">=3.21.0-rc-1, <3.21.7",">=3.20.0-rc-1, <3.20.3",">=3.17.0-rc-1, <3.19.6","<3.16.3"],"patched":["3.21.7","3.20.3","3.19.6","3.16.3"],"from":["GHSA-h4h5-3hr4-j3g2"],"provenance":"source"},{"ecosystem":"Maven","package":"com.google.protobuf:protobuf-kotlin-lite","vulnerableRanges":[">=3.21.0-rc-1, <3.21.7",">=3.20.0-rc-1, <3.20.3",">=3.17.0-rc-1, <3.19.6","<3.16.3"],"patched":["3.21.7","3.20.3","3.19.6","3.16.3"],"from":["GHSA-h4h5-3hr4-j3g2"],"provenance":"source"}],"summary":{"text":"A memory-handling flaw in Google's Protocol Buffers Java core and lite libraries (protobuf-java) causes parsing of binary input containing multiple instances of non-repeated embedded messages along with repeated or unknown fields to repeatedly convert objects between mutable and immutable forms. An attacker who can send such crafted input over the network, without authentication or user interaction, can trigger long garbage collection pauses and cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:43Z"},"euvd":{"id":"EUVD-2022-7102","exploited":false,"provenance":"source"},"lineage":{"children":[{"from":"CVE-2022-3171","to":"CVE-2022-3509","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"A parsing issue similar to CVE-2022-3171, but with textformat 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.","from":"CVE.org","in":"CVE-2022-3509"}]},{"from":"CVE-2022-3171","to":"CVE-2022-3510","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"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.","from":"CVE.org","in":"CVE-2022-3510"}]}],"packageHistory":[{"cve":"CVE-2021-22569","published":"2022-01-07","fixed":"3.19.2","kev":false,"link":{"from":"CVE-2021-22569","to":"CVE-2022-3171","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.google.protobuf:protobuf-java","fromFixed":"3.19.2","toFixed":"3.19.6","daysApart":278},{"kind":"version-step","provenance":"source","package":"Maven:com.google.protobuf:protobuf-kotlin","fromFixed":"3.19.2","toFixed":"3.19.6","daysApart":278}]}},{"cve":"CVE-2022-3171","published":"2022-10-12","fixed":"3.21.7","kev":false},{"cve":"CVE-2022-3509","published":"2022-11-01","fixed":"3.21.7","kev":false},{"cve":"CVE-2022-3510","published":"2022-11-11","fixed":"3.21.7","kev":false},{"cve":"CVE-2024-7254","published":"2024-09-19","fixed":"4.28.2","kev":false,"link":{"from":"CVE-2022-3171","to":"CVE-2024-7254","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.google.protobuf:protobuf-kotlin","fromFixed":"3.21.7","toFixed":"3.25.5","daysApart":708},{"kind":"version-step","provenance":"source","package":"RubyGems:google-protobuf","fromFixed":"3.21.7","toFixed":"3.25.5","daysApart":708}]}}],"package":"Maven:com.google.protobuf:protobuf-java"}}