{"id":"CVE-2022-3510","published":"2022-11-11T16:35:20Z","modified":"2025-04-22T15:09:17Z","title":"Parsing issue in protobuf message-type extension","vendor":"Google","product":"ProtocolBuffers","tier":"tail","description":{"text":"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. 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.\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00769,"percentile":0.56487,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/protocolbuffers/protobuf/commit/db7c17803320525722f45c1d26fc08bc41d1bf48","tags":["patch"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":11.3},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"google","affectedVersions":[{"vendor":"Google","product":"ProtocolBuffers","versions":[">= 3.21.0, < 3.21.7",">= 3.20.0, < 3.20.3",">= 3.19.0, < 3.19.6",">= 3.16.0, < 3.16.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-22T15:08:55.087167Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.google.protobuf:protobuf-java","vulnerableRanges":[">=3.0.0, <3.16.3",">=3.17.0, <3.19.6",">=3.20.0, <3.20.3",">=3.21.0, <3.21.7"],"patched":["3.16.3","3.19.6","3.20.3","3.21.7"],"from":["GHSA-4gg5-vx3j-xwc7"],"provenance":"source"},{"ecosystem":"Maven","package":"com.google.protobuf:protobuf-javalite","vulnerableRanges":[">=3.0.0, <3.16.3",">=3.17.0, <3.19.6",">=3.20.0, <3.20.3",">=3.21.0, <3.21.7"],"patched":["3.16.3","3.19.6","3.20.3","3.21.7"],"from":["GHSA-4gg5-vx3j-xwc7"],"provenance":"source"}],"summary":{"text":"A parsing flaw in the protobuf-java core and lite components of Google's ProtocolBuffers, affecting versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3, involves handling of message-type extensions with multiple instances of non-repeated embedded messages containing repeated or unknown fields. An attacker who can send a crafted input over the network, without authentication or user interaction, can trigger repeated conversion between mutable and immutable forms, causing long garbage collection pauses and a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:20:56Z"},"euvd":{"id":"EUVD-2022-7503","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-google-protocolbuffers-cve-2022-3509","parents":[{"from":"CVE-2022-3509","to":"CVE-2022-3510","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["java/core/src/main/java/com/google/protobuf/MessageReflection.java"],"commits":["https://github.com/protocolbuffers/protobuf/commit/a3888f53317a8018e7a439bac4abeb8f3425d5e9","https://github.com/protocolbuffers/protobuf/commit/db7c17803320525722f45c1d26fc08bc41d1bf48"],"basis":"shared function","functions":["clearField","getField","getUtf8Validation","mergeGroup","mergeMessage"]},{"kind":"similar","provenance":"machine","score":0.93,"basis":"same product + CWE + description similarity"}]},{"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-3510","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.google.protobuf:protobuf-java","fromFixed":"3.16.1","toFixed":"3.16.3","daysApart":308}]}},{"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-3510","to":"CVE-2024-7254","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.google.protobuf:protobuf-java","fromFixed":"3.21.7","toFixed":"3.25.5","daysApart":678},{"kind":"version-step","provenance":"source","package":"Maven:com.google.protobuf:protobuf-javalite","fromFixed":"3.21.7","toFixed":"3.25.5","daysApart":678}]}}],"package":"Maven:com.google.protobuf:protobuf-java"}}