{
    "CVE_data_meta": {
        "ASSIGNER": "security@google.com",
        "ID": "CVE-2022-1941",
        "STATE": "PUBLIC",
        "TITLE": "Out of Memory issue in ProtocolBuffers for cpp and python"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "protobuf-cpp",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<=",
                                            "version_value": "3.16.1"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_value": "3.17.3"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_value": "3.18.2"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_value": "3.19.4"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_value": "3.20.1"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_value": "3.21.5"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "Google LLC"
                },
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "protobuf-python",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<=",
                                            "version_value": "3.16.1"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_value": "3.17.3"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_value": "3.18.2"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_value": "3.19.4"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_value": "3.20.1"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_value": "4.21.5"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "Google LLC"
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "CluterFuzz - https://google.github.io/clusterfuzz/"
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "ADJACENT",
            "availabilityImpact": "HIGH",
            "baseScore": 5.7,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-1286: Improper Validation of Syntactic Correctness of Input"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://cloud.google.com/support/bulletins#GCP-2022-019",
                "refsource": "CONFIRM",
                "url": "https://cloud.google.com/support/bulletins#GCP-2022-019"
            },
            {
                "name": "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf",
                "refsource": "CONFIRM",
                "url": "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf"
            },
            {
                "refsource": "MLIST",
                "name": "[oss-security] 20220927 CVE-2022-1941: Protobuf C++, Python DoS",
                "url": "http://www.openwall.com/lists/oss-security/2022/09/27/1"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-25f35ed634",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3/"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20230418 [SECURITY] [DLA 3393-1] protobuf security update",
                "url": "https://lists.debian.org/debian-lts-announce/2023/04/msg00019.html"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-15729fa33d",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP/"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20240705-0001/",
                "url": "https://security.netapp.com/advisory/ntap-20240705-0001/"
            }
        ]
    },
    "source": {
        "discovery": "INTERNAL"
    }
}