{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2021-35937",
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "assignerShortName": "redhat",
        "dateUpdated": "2024-08-04T00:40:47.361Z",
        "dateReserved": "2021-06-29T00:00:00",
        "datePublished": "2022-08-25T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat",
                "dateUpdated": "2022-10-31T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A race condition vulnerability was found in rpm. A local unprivileged user could use this flaw to bypass the checks that were introduced in response to CVE-2017-7500 and CVE-2017-7501, potentially gaining root privileges. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "RPM",
                    "versions": [
                        {
                            "version": "Fixed in rpm v4.18.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://rpm.org/wiki/Releases/4.18.0"
                },
                {
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1964125"
                },
                {
                    "url": "https://access.redhat.com/security/cve/CVE-2021-35937"
                },
                {
                    "url": "https://www.usenix.org/legacy/event/sec05/tech/full_papers/borisov/borisov.pdf"
                },
                {
                    "name": "GLSA-202210-22",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202210-22"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-59 - Improper Link Resolution Before File Access ('Link Following'), CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition",
                            "cweId": "CWE-59"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T00:40:47.361Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://rpm.org/wiki/Releases/4.18.0",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1964125",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://access.redhat.com/security/cve/CVE-2021-35937",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.usenix.org/legacy/event/sec05/tech/full_papers/borisov/borisov.pdf",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "GLSA-202210-22",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202210-22"
                    }
                ]
            }
        ]
    }
}