{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2021-35942",
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "dateUpdated": "2024-08-04T00:40:47.554Z",
        "dateReserved": "2021-06-29T00:00:00",
        "datePublished": "2021-07-22T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre",
                "dateUpdated": "2022-10-17T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "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."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "n/a",
                    "versions": [
                        {
                            "version": "n/a",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://sourceware.org/glibc/wiki/Security%20Exceptions"
                },
                {
                    "url": "https://sourceware.org/bugzilla/show_bug.cgi?id=28011"
                },
                {
                    "url": "https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20210827-0005/"
                },
                {
                    "name": "GLSA-202208-24",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202208-24"
                },
                {
                    "name": "[debian-lts-announce] 20221017 [SECURITY] [DLA 3152-1] glibc security update",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "text",
                            "lang": "en",
                            "description": "n/a"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T00:40:47.554Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://sourceware.org/glibc/wiki/Security%20Exceptions",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://sourceware.org/bugzilla/show_bug.cgi?id=28011",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=5adda61f62b77384718b4c0d8336ade8f2b4b35c",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20210827-0005/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "GLSA-202208-24",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202208-24"
                    },
                    {
                        "name": "[debian-lts-announce] 20221017 [SECURITY] [DLA 3152-1] glibc security update",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html"
                    }
                ]
            }
        ]
    }
}