{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2021-35942",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "The wordexp function in the GNU C Library (aka glibc) through 2.33 may crash or read arbitrary memory in parse_param (in posix/wordexp.c) when called with an untrusted, crafted pattern, potentially resulting in a denial of service or disclosure of information. This occurs because atoi was used but strtoul should have been used to ensure correct calculations."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://sourceware.org/glibc/wiki/Security%20Exceptions",
                "refsource": "MISC",
                "name": "https://sourceware.org/glibc/wiki/Security%20Exceptions"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://sourceware.org/bugzilla/show_bug.cgi?id=28011",
                "url": "https://sourceware.org/bugzilla/show_bug.cgi?id=28011"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://sourceware.org/git/?p=glibc.git;a=commit;h=5adda61f62b77384718b4c0d8336ade8f2b4b35c",
                "url": "https://sourceware.org/git/?p=glibc.git;a=commit;h=5adda61f62b77384718b4c0d8336ade8f2b4b35c"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20210827-0005/",
                "url": "https://security.netapp.com/advisory/ntap-20210827-0005/"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202208-24",
                "url": "https://security.gentoo.org/glsa/202208-24"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20221017 [SECURITY] [DLA 3152-1] glibc security update",
                "url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html"
            }
        ]
    }
}