{"id":"CVE-2021-22569","aliases":["CVE-2021-22569","GHSA-wrvw-hg22-4m67"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of Service of protobuf-java parsing procedure","summary":"An issue in protobuf-java allowed the interleaving of com.google.protobuf.UnknownFieldSet fields in such a way that would be processed out of order. A small malicious payload can occupy the parser for several minutes by creating large numbers of short-lived objects that cause frequent, repeated pauses. We recommend upgrading libraries beyond the vulnerable versions.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue in protobuf-java allowed the interleaving of com.google.protobuf.UnknownFieldSet fields in such a way that would be processed out of order. A small malicious payload can occupy the parser for several minutes by creating large numbers of short-lived objects that cause frequent, repeated pauses. We recommend upgrading libraries beyond the vulnerable versions.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nA potential Denial of Service issue in protobuf-java was discovered in the parsing procedure for binary data.\n\nReporter: [OSS-Fuzz](https://github.com/google/oss-fuzz)\n\nAffected versions: All versions of Java Protobufs (including Kotlin and JRuby) prior to the versions listed below. Protobuf \"javalite\" users (typically Android) are not affected.\n\n## Severity\n\n[CVE-2021-22569](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22569) **High** - CVSS Score: 7.5,  An implementation weakness in how unknown fields are parsed in Java. A small (~800 KB) malicious payload can occupy the parser for several minutes by creating large numbers of short-lived objects that cause frequent, repeated GC pauses.\n\n## Proof of Concept\n\nFor reproduction details, please refer to the oss-fuzz issue that identifies the specific inputs that exercise this parsing weakness.\n\n## Remediation and Mitigation\n\nPlease update to the latest available versions of the following packages:\n\n- protobuf-java (3.16.1, 3.18.2, 3.19.2) \n- protobuf-kotlin (3.18.2, 3.19.2)\n- google-protobuf [JRuby  gem only] (3.19.2)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Un problema en protobuf-java permitía intercalar campos com.google.protobuf.UnknownFieldSet de tal manera que eran procesados fuera de orden. Una pequeña carga útil maliciosa puede ocupar el analizador durante varios minutos al crear un gran número de objetos de corta duración que causan frecuentes y repetidas pausas. Recomendamos actualizar las bibliotecas más allá de las versiones vulnerables","source":"nvd"}],"published":"2022-01-07T00:00:00.000Z","modified":"2026-09-10T03:49:12.224Z","severity":{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-696"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"3.16.1","status":"affected"},{"type":"custom","introduced":"unspecified","fixed":"3.18.2","status":"affected"},{"type":"custom","introduced":"unspecified","fixed":"3.19.2","status":"affected"}],"vendor":"Google LLC","product":"protobuf-java","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"3.18.2","status":"affected"},{"type":"custom","introduced":"unspecified","fixed":"3.19.2","status":"affected"}],"vendor":"Google LLC","product":"protobuf-kotlin","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"3.19.2","status":"affected"}],"vendor":"Google LLC","product":"google-protobuf [JRuby Gem]","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.16.1"}],"ecosystem":"Maven","package":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.19.2"}],"ecosystem":"RubyGems","package":"google-protobuf","purl":"pkg:gem/google-protobuf","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.18.0","status":"affected","fixed":"3.18.2"}],"ecosystem":"Maven","package":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.19.0","status":"affected","fixed":"3.19.2"}],"ecosystem":"Maven","package":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.18.0","status":"affected","fixed":"3.18.2"}],"ecosystem":"Maven","package":"com.google.protobuf:protobuf-kotlin","purl":"pkg:maven/com.google.protobuf/protobuf-kotlin","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.19.0","status":"affected","fixed":"3.19.2"}],"ecosystem":"Maven","package":"com.google.protobuf:protobuf-kotlin","purl":"pkg:maven/com.google.protobuf/protobuf-kotlin","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.19.2"}],"vendor":"google","product":"google-protobuf","cpe":"cpe:2.3:a:google:google-protobuf:*:*:*:*:*:ruby:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"3.16.1"},{"status":"affected","introduced":"3.18.0","fixed":"3.18.2"},{"status":"affected","introduced":"3.19.0","fixed":"3.19.2"}],"vendor":"google","product":"protobuf-java","cpe":"cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"3.18.2"},{"status":"affected","introduced":"3.19.0","fixed":"3.19.2"}],"vendor":"google","product":"protobuf-kotlin","cpe":"cpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"1.9.0"}],"vendor":"oracle","product":"communications_cloud_native_core_console","cpe":"cpe:2.3:a:oracle:communications_cloud_native_core_console:1.9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"1.15.0"},{"status":"affected","version":"1.15.1"}],"vendor":"oracle","product":"communications_cloud_native_core_network_repository_function","cpe":"cpe:2.3:a:oracle:communications_cloud_native_core_network_repository_function:1.15.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"1.15.0"}],"vendor":"oracle","product":"communications_cloud_native_core_policy","cpe":"cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.15.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"19c"},{"status":"affected","version":"21c"}],"vendor":"oracle","product":"spatial_and_graph_mapviewer","cpe":"cpe:2.3:a:oracle:spatial_and_graph_mapviewer:19c:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39330","tags":["exploit","issue-tracking","mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://cloud.google.com/support/bulletins#gcp-2022-001","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/12/4","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/12/7","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00019.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-wrvw-hg22-4m67","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22569","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/protocolbuffers/protobuf","tags":["package"],"sources":["ghsa"]}],"credits":["OSS-Fuzz - https://github.com/google/oss-fuzz"],"assigner":"Google","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-04-21T13:40:37.923Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-22569","url":"https://www.cve.org/CVERecord?id=CVE-2021-22569","licence":"CVE Terms of Use","modified":"2025-04-21T13:57:08.444Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wrvw-hg22-4m67","url":"https://github.com/advisories/GHSA-wrvw-hg22-4m67","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:12.224Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-22569","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22569","licence":"Public domain","modified":"2026-06-17T03:37:26.723Z"}],"updatedAt":"2026-11-25T22:58:06.425Z","epss":{"score":0.01795,"percentile":0.79067,"date":"2026-12-01T12:00:22.000Z"}}