{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "kernel",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "Not Known"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A flaw was found in the way the dumpable flag setting was handled when certain SUID binaries executed its descendants. The prerequisite is a SUID binary that sets real UID equal to effective UID, and real GID equal to effective GID. The descendant will then have a dumpable value set to 1. As a result, if the descendant process crashes and core_pattern is set to a relative value, its core dump is stored in the current directory with uid:gid permissions. An unprivileged local user with eligible root SUID binary could use this flaw to place core dumps into root-owned directories, potentially resulting in escalation of privileges."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-284",
                            "description": "CWE-284 - Improper Access Control",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2022-08-26T15:25:39",
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://www.openwall.com/lists/oss-security/2021/10/20/2"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2015046"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://access.redhat.com/security/cve/CVE-2021-3864"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://lore.kernel.org/all/20211221021744.864115-1-longman%40redhat.com/"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://lore.kernel.org/lkml/20211228170910.623156-1-wander%40redhat.com/"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://lore.kernel.org/all/20211226150310.GA992%401wt.eu/"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://security-tracker.debian.org/tracker/CVE-2021-3864"
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T17:09:09.586Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://www.openwall.com/lists/oss-security/2021/10/20/2"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2015046"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://access.redhat.com/security/cve/CVE-2021-3864"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://lore.kernel.org/all/20211221021744.864115-1-longman%40redhat.com/"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://lore.kernel.org/lkml/20211228170910.623156-1-wander%40redhat.com/"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://lore.kernel.org/all/20211226150310.GA992%401wt.eu/"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://security-tracker.debian.org/tracker/CVE-2021-3864"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "assignerShortName": "redhat",
        "cveId": "CVE-2021-3864",
        "datePublished": "2022-08-26T15:25:39",
        "dateReserved": "2021-10-06T00:00:00",
        "dateUpdated": "2024-08-03T17:09:09.586Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}