{"answers":{"affected":"12 open source packages ship an affected version, including com.google.protobuf:protobuf-java, com.google.protobuf:protobuf-kotlin and google-protobuf. It affects 7 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-22569 exists.","fix":"Upgrade com.google.protobuf:protobuf-java to a fixed version for your release line: 3.16.1, 3.18.2 or 3.19.2.","what":"CVE-2021-22569 is a high-severity denial of service vulnerability in Oracle Communications Cloud Native Core Policy, published on 7 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-22569 and fix it if it is affected.\n\nWhat it is: CVE-2021-22569 is a high-severity denial of service vulnerability in Oracle Communications Cloud Native Core Policy, published on 7 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-22569 exists.\n\nAffected packages and fixed versions:\n- com.google.protobuf:protobuf-java (Maven): affected all versions; fixed in 3.16.1\n- com.google.protobuf:protobuf-java (Maven): affected all versions; fixed in 3.16.1\n- com.google.protobuf:protobuf-java (Maven): affected from 3.18.0; fixed in 3.18.2\n- com.google.protobuf:protobuf-java (Maven): affected from 3.18.0; fixed in 3.18.2\n- com.google.protobuf:protobuf-java (Maven): affected from 3.19.0; fixed in 3.19.2\n- com.google.protobuf:protobuf-java (Maven): affected from 3.19.0; fixed in 3.19.2\n- com.google.protobuf:protobuf-kotlin (Maven): affected from 3.18.0; fixed in 3.18.2\n- com.google.protobuf:protobuf-kotlin (Maven): affected from 3.18.0; fixed in 3.18.2\n- com.google.protobuf:protobuf-kotlin (Maven): affected from 3.19.0; fixed in 3.19.2\n- com.google.protobuf:protobuf-kotlin (Maven): affected from 3.19.0; fixed in 3.19.2\n- google-protobuf (RubyGems): affected all versions; fixed in 3.19.2\n- google-protobuf (RubyGems): affected all versions; fixed in 3.19.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-22569/ (Markdown: https://insights.sbomify.com/CVE-2021-22569/index.md)","id":"CVE-2021-22569","markdown":"https://insights.sbomify.com/CVE-2021-22569/index.md","name":"CVE-2021-22569","record":{"aliases":["AZL-41431","CLEANSTART-2026-QW16361","CLEANSTART-2026-UR58477","DEBIAN-CVE-2021-22569","ECHO-7e09-bb97-24cf","GHSA-wrvw-hg22-4m67","MINI-9gq6-mv69-2xjq","MINI-f95c-gjm2-36cm","MINI-hxxf-c3hm-5qp7","MINI-r98w-4w9x-gc7w","MINI-vm5f-ph9j-w35f","OESA-2022-1694","ROOT-APP-MAVEN-CVE-2021-22569","UBUNTU-CVE-2021-22569"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java protobuf library","requires_auth":"none","summary":"Attackers can cause denial of service in protobuf-java by sending malicious payloads that trigger excessive object creation and parser pauses.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"google-protobuf","vendor":"google"},{"product":"protobuf-java","vendor":"google"},{"product":"protobuf-kotlin","vendor":"google"},{"product":"communications_cloud_native_core_console","vendor":"oracle"},{"product":"communications_cloud_native_core_network_repository_function","vendor":"oracle"},{"product":"communications_cloud_native_core_policy","vendor":"oracle"},{"product":"spatial_and_graph_mapviewer","vendor":"oracle"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-696","name":"Incorrect Behavior Order"}],"description":"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.","ecosystems":["Maven","RubyGems"],"exploits":{"exploitdb":0,"first_seen":"2022-01-13","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-01-13T03:33:54Z","kind":"github_poc","ref":"https://github.com/Mario-Kart-Felix/A-potential-Denial-of-Service-issue-in-protobuf-java","stars":0,"title":"A potential Denial of Service issue in protobuf-java high severity GitHub Reviewed Published 5 days ago in protocolbuffers/protobuf • Updated yesterday Vulnerability details Dependabot alerts 2 Package  com.google.protobuf:protobuf-java (maven) Affected versions \u003c 3.16.1 \u003e= 3.18.0, \u003c 3.18.2 \u003e= 3.19.0, \u003c 3.19.2 Patched versions 3.16.1 3.18.2 3.19.2 Package  com.google.protobuf:protobuf-kotlin (maven) Affected versions \u003e= 3.18.0, \u003c 3.18.2 \u003e= 3.19.0, \u003c 3.19.2 Patched versions 3.18.2 3.19.2 Package  google-protobuf (RubyGems) Affected versions \u003c 3.19.2 Patched versions 3.19.2 Description Summary A potential Denial of Service issue in protobuf-java was discovered in the parsing procedure for binary data.  Reporter: OSS-Fuzz  Affected versions: All versions of Java Protobufs (including Kotlin and JRuby) prior to the versions listed below. Protobuf \"javalite\" users (typically Android) are not affected.  Severity 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.  Proof of Concept For reproduction details, please refer to the oss-fuzz issue that identifies the specific inputs that exercise this parsing weakness.  Remediation and Mitigation Please update to the latest available versions of the following packages:  protobuf-java (3.16.1, 3.18.2, 3.19.2) protobuf-kotlin (3.18.2, 3.19.2) google-protobuf [JRuby gem only] (3.19.2) References GHSA-wrvw-hg22-4m67 https://nvd.nist.gov/vuln/detail/CVE-2021-22569 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39330 https://cloud.google.com/support/bulletins#gcp-2022-001"}],"tier":"weaponised"},"has_fix":true,"headline":"Denial of Service of protobuf-java parsing procedure","id":"CVE-2021-22569","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"oracle:communications_cloud_native_core_policy","products":["oracle:communications_cloud_native_core_policy"],"type":"denial_of_service","year":"2021"},"n_packages":12,"n_references":6,"next":{"headline":"Nullptr Dereference in Protobuf","id":"CVE-2021-22570"},"packages":[{"ecosystem":"Maven","fixed":["3.16.1"],"introduced":["0"],"last_affected":[],"package":"com.google.protobuf:protobuf-java","purl":null,"source":"GHSA-wrvw-hg22-4m67"},{"ecosystem":"Maven","fixed":["3.16.1"],"introduced":["0"],"last_affected":[],"package":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","source":"GHSA-wrvw-hg22-4m67"},{"ecosystem":"Maven","fixed":["3.18.2"],"introduced":["3.18.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-java","purl":null,"source":"GHSA-wrvw-hg22-4m67"},{"ecosystem":"Maven","fixed":["3.18.2"],"introduced":["3.18.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","source":"GHSA-wrvw-hg22-4m67"},{"ecosystem":"Maven","fixed":["3.19.2"],"introduced":["3.19.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-java","purl":null,"source":"GHSA-wrvw-hg22-4m67"},{"ecosystem":"Maven","fixed":["3.19.2"],"introduced":["3.19.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","source":"GHSA-wrvw-hg22-4m67"},{"ecosystem":"Maven","fixed":["3.18.2"],"introduced":["3.18.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-kotlin","purl":null,"source":"GHSA-wrvw-hg22-4m67"},{"ecosystem":"Maven","fixed":["3.18.2"],"introduced":["3.18.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-kotlin","purl":"pkg:maven/com.google.protobuf/protobuf-kotlin","source":"GHSA-wrvw-hg22-4m67"},{"ecosystem":"Maven","fixed":["3.19.2"],"introduced":["3.19.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-kotlin","purl":null,"source":"GHSA-wrvw-hg22-4m67"},{"ecosystem":"Maven","fixed":["3.19.2"],"introduced":["3.19.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-kotlin","purl":"pkg:maven/com.google.protobuf/protobuf-kotlin","source":"GHSA-wrvw-hg22-4m67"},{"ecosystem":"RubyGems","fixed":["3.19.2"],"introduced":["0"],"last_affected":[],"package":"google-protobuf","purl":null,"source":"GHSA-wrvw-hg22-4m67"},{"ecosystem":"RubyGems","fixed":["3.19.2"],"introduced":["0"],"last_affected":[],"package":"google-protobuf","purl":"pkg:gem/google-protobuf","source":"GHSA-wrvw-hg22-4m67"}],"prev":{"headline":"Dart - Publishing to third-party package repositories may expose pub.dev credentials","id":"CVE-2021-22568"},"products":["google-protobuf [JRuby Gem]","protobuf-java","protobuf-kotlin"],"published":"2022-01-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-21","vendors":["Google LLC"]},"summary":"Attackers can cause denial of service in protobuf-java by sending malicious payloads that trigger excessive object creation and parser pauses.","url":"https://insights.sbomify.com/CVE-2021-22569/"}