{"id":"CVE-2021-3939","state":"PUBLISHED","title":"Free of static data in accountsservice","description":"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.","publishedAt":"2021-11-17T03:15:10.949Z","updatedAt":"2024-09-16T18:02:58.362Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"canonical"},"assigner":"canonical","products":["Ubuntu accountsservice"],"affected":[{"vendor":"Ubuntu","product":"accountsservice","versions":[{"version":"0.6.55-0ubuntu12~20.04","status":"affected","lessThan":"0.6.55-0ubuntu12~20.04.5","versionType":"custom"},{"version":"0.6.55-0ubuntu13","status":"affected","lessThan":"0.6.55-0ubuntu13.3","versionType":"custom"},{"version":"0.6.55-0ubuntu14","status":"affected","lessThan":"0.6.55-0ubuntu14.1","versionType":"custom"}]}],"references":["https://ubuntu.com/security/notices/USN-5149-1","https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149","http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html"],"weaknesses":["CWE-590"],"ingestedAt":"2026-10-29T19:48:55.807Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/3xxx/CVE-2021-3939.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-3939","state":"PUBLISHED","datePublished":"2021-11-17T03:15:10.949Z","dateUpdated":"2024-09-16T18:02:58.362Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2021-11-09T00:00:00.000Z"},"containers":{"cna":{"title":"Free of static data in accountsservice","descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"Ubuntu","product":"accountsservice","versions":[{"version":"0.6.55-0ubuntu12~20.04","status":"affected","lessThan":"0.6.55-0ubuntu12~20.04.5","versionType":"custom"},{"version":"0.6.55-0ubuntu13","status":"affected","lessThan":"0.6.55-0ubuntu13.3","versionType":"custom"},{"version":"0.6.55-0ubuntu14","status":"affected","lessThan":"0.6.55-0ubuntu14.1","versionType":"custom"}]}],"references":[{"url":"https://ubuntu.com/security/notices/USN-5149-1"},{"url":"https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149"},{"url":"http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-590","type":"CWE","lang":"en","description":"CWE-590 Free of Memory not on the Heap"}]}],"providerMetadata":{"shortName":"canonical","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateUpdated":"2023-06-12T00:00:00.000Z"},"datePublic":"2021-11-16T00:00:00.000Z","credits":[{"lang":"en","value":"Kevin Backhouse"}],"x_generator":{"engine":"Vulnogram 0.0.9"},"source":{"advisory":"USN-5149-1","defect":["https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149"],"discovery":"EXTERNAL"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://ubuntu.com/security/notices/USN-5149-1","tags":["x_transferred"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149","tags":["x_transferred"]},{"url":"http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:09:09.693Z"}}]}}}