A parsing vulnerability for the MessageSet type in the ProtocolBuffers versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 3.21.5 for protobuf-cpp, and versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 4.21.5 for protobuf-python can lead to out of memory failures. A specially crafted message with multiple key-value per elements creates parsing issues, and can lead to a Denial of Service against services receiving unsanitized input. We recommend upgrading to versions 3.18.3, 3.19.5, 3.20.2, 3.21.6 for protobuf-cpp and 3.18.3, 3.19.5, 3.20.2, 4.21.6 for protobuf-python. Versions for 3.16 and 3.17 are no longer updated.
[
{
"deprecated": false,
"source": "https://github.com/protocolbuffers/protobuf/commit/24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb",
"id": "CVE-2022-1941-0f527957",
"target": {
"file": "src/google/protobuf/duration.pb.h"
},
"digest": {
"line_hashes": [
"153926112890941523864860940857322357160",
"289567205693198179886075926256830408437",
"146191563495415598666003706080146287964",
"82847680890546882463891229857875315122"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://github.com/protocolbuffers/protobuf/commit/24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb",
"id": "CVE-2022-1941-32965c2b",
"target": {
"file": "src/google/protobuf/any.pb.h"
},
"digest": {
"line_hashes": [
"153926112890941523864860940857322357160",
"289567205693198179886075926256830408437",
"146191563495415598666003706080146287964",
"82847680890546882463891229857875315122"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://github.com/protocolbuffers/protobuf/commit/24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb",
"id": "CVE-2022-1941-3fea45ab",
"target": {
"file": "src/google/protobuf/wrappers.pb.h"
},
"digest": {
"line_hashes": [
"153926112890941523864860940857322357160",
"289567205693198179886075926256830408437",
"146191563495415598666003706080146287964",
"82847680890546882463891229857875315122"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://github.com/protocolbuffers/protobuf/commit/24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb",
"id": "CVE-2022-1941-4c0a2ccc",
"target": {
"file": "src/google/protobuf/empty.pb.h"
},
"digest": {
"line_hashes": [
"153926112890941523864860940857322357160",
"289567205693198179886075926256830408437",
"146191563495415598666003706080146287964",
"82847680890546882463891229857875315122"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://github.com/protocolbuffers/protobuf/commit/24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb",
"id": "CVE-2022-1941-622f07a8",
"target": {
"file": "src/google/protobuf/compiler/plugin.pb.h"
},
"digest": {
"line_hashes": [
"153926112890941523864860940857322357160",
"289567205693198179886075926256830408437",
"146191563495415598666003706080146287964",
"82847680890546882463891229857875315122"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://github.com/protocolbuffers/protobuf/commit/24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb",
"id": "CVE-2022-1941-713864cf",
"target": {
"file": "src/google/protobuf/field_mask.pb.h"
},
"digest": {
"line_hashes": [
"153926112890941523864860940857322357160",
"289567205693198179886075926256830408437",
"146191563495415598666003706080146287964",
"82847680890546882463891229857875315122"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://github.com/protocolbuffers/protobuf/commit/24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb",
"id": "CVE-2022-1941-94fa56e7",
"target": {
"file": "src/google/protobuf/descriptor.pb.h"
},
"digest": {
"line_hashes": [
"153926112890941523864860940857322357160",
"289567205693198179886075926256830408437",
"146191563495415598666003706080146287964",
"82847680890546882463891229857875315122"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://github.com/protocolbuffers/protobuf/commit/24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb",
"id": "CVE-2022-1941-9fa4dbe9",
"target": {
"file": "src/google/protobuf/timestamp.pb.h"
},
"digest": {
"line_hashes": [
"153926112890941523864860940857322357160",
"289567205693198179886075926256830408437",
"146191563495415598666003706080146287964",
"82847680890546882463891229857875315122"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://github.com/protocolbuffers/protobuf/commit/24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb",
"id": "CVE-2022-1941-b84f9c2e",
"target": {
"file": "src/google/protobuf/struct.pb.h"
},
"digest": {
"line_hashes": [
"153926112890941523864860940857322357160",
"289567205693198179886075926256830408437",
"146191563495415598666003706080146287964",
"82847680890546882463891229857875315122"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://github.com/protocolbuffers/protobuf/commit/24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb",
"id": "CVE-2022-1941-d51c80ab",
"target": {
"file": "src/google/protobuf/type.pb.h"
},
"digest": {
"line_hashes": [
"153926112890941523864860940857322357160",
"289567205693198179886075926256830408437",
"146191563495415598666003706080146287964",
"82847680890546882463891229857875315122"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://github.com/protocolbuffers/protobuf/commit/24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb",
"id": "CVE-2022-1941-df0f7015",
"target": {
"file": "src/google/protobuf/source_context.pb.h"
},
"digest": {
"line_hashes": [
"153926112890941523864860940857322357160",
"289567205693198179886075926256830408437",
"146191563495415598666003706080146287964",
"82847680890546882463891229857875315122"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://github.com/protocolbuffers/protobuf/commit/24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb",
"id": "CVE-2022-1941-fcf8c8ea",
"target": {
"file": "src/google/protobuf/api.pb.h"
},
"digest": {
"line_hashes": [
"153926112890941523864860940857322357160",
"289567205693198179886075926256830408437",
"146191563495415598666003706080146287964",
"82847680890546882463891229857875315122"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1941.json"