{
    "CVE_data_meta": {
        "ASSIGNER": "security@ubuntu.com",
        "DATE_PUBLIC": "2021-11-16T19:08:00.000Z",
        "ID": "CVE-2021-3939",
        "STATE": "PUBLIC",
        "TITLE": "Free of static data in accountsservice"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "accountsservice",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "0.6.55-0ubuntu12~20.04",
                                            "version_value": "0.6.55-0ubuntu12~20.04.5"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "0.6.55-0ubuntu13",
                                            "version_value": "0.6.55-0ubuntu13.3"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "0.6.55-0ubuntu14",
                                            "version_value": "0.6.55-0ubuntu14.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "Ubuntu"
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Kevin Backhouse"
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Ubuntu-specific modifications to accountsservice (in patch file debian/patches/0010-set-language.patch) caused the fallback_locale variable, pointing to static storage, to be freed, in the user_change_language_authorized_cb function. This is reachable via the SetLanguage dbus function. This is fixed in versions 0.6.55-0ubuntu12~20.04.5, 0.6.55-0ubuntu13.3, 0.6.55-0ubuntu14.1."
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "impact": {
        "cvss": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-590 Free of Memory not on the Heap"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "url": "https://ubuntu.com/security/notices/USN-5149-1",
                "name": "https://ubuntu.com/security/notices/USN-5149-1"
            },
            {
                "refsource": "MISC",
                "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149",
                "name": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html",
                "url": "http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html"
            }
        ]
    },
    "source": {
        "advisory": "USN-5149-1",
        "defect": [
            "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149"
        ],
        "discovery": "EXTERNAL"
    }
}