{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2021-3899",
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "state": "PUBLISHED",
        "assignerShortName": "canonical",
        "dateReserved": "2021-10-23T01:51:35.297Z",
        "datePublished": "2024-06-03T18:40:32.847Z",
        "dateUpdated": "2024-08-19T14:10:41.358Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "packageName": "apport",
                    "product": "Apport",
                    "vendor": "Canonical Ltd.",
                    "repo": "https://github.com/canonical/apport",
                    "platforms": [
                        "Linux"
                    ],
                    "versions": [
                        {
                            "lessThan": "2.21.0",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "There is a race condition in the 'replaced executable' detection that, with the correct local configuration, allow an attacker to execute arbitrary code as root."
                }
            ],
            "references": [
                {
                    "tags": [
                        "issue-tracking"
                    ],
                    "url": "https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1948376"
                },
                {
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://ubuntu.com/security/notices/USN-5427-1"
                },
                {
                    "tags": [
                        "issue-tracking"
                    ],
                    "url": "https://www.cve.org/CVERecord?id=CVE-2021-3899"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Muqing Liu from Singurlar Security Lab"
                },
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "neoni"
                }
            ],
            "providerMetadata": {
                "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
                "shortName": "canonical",
                "dateUpdated": "2024-06-03T18:40:32.847Z"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T17:09:09.767Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "issue-tracking",
                            "x_transferred"
                        ],
                        "url": "https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1948376"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://ubuntu.com/security/notices/USN-5427-1"
                    },
                    {
                        "tags": [
                            "issue-tracking",
                            "x_transferred"
                        ],
                        "url": "https://www.cve.org/CVERecord?id=CVE-2021-3899"
                    }
                ]
            },
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "cweId": "CWE-367",
                                "lang": "en",
                                "description": "CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition"
                            }
                        ]
                    }
                ],
                "affected": [
                    {
                        "vendor": "apport",
                        "product": "apport",
                        "cpes": [
                            "cpe:2.3:a:apport:apport:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThan": "2.21.0",
                                "versionType": "semver"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 7.8,
                            "attackVector": "LOCAL",
                            "baseSeverity": "HIGH",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                            "integrityImpact": "HIGH",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "HIGH"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-08-19T14:09:25.391252Z",
                                "id": "CVE-2021-3899",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-08-19T14:10:41.358Z"
                }
            }
        ]
    }
}