{"id":"CVE-2021-0330","aliases":["A-170732441","ASB-A-170732441","EUVD-2021-2949","GHSA-8pqc-794r-q3c3"],"status":"published","title":"In add_user_ce and remove_user_ce of storaged.cpp, there is a possible use-after-free due to...","description":"In add_user_ce and remove_user_ce of storaged.cpp, there is a possible use-after-free due to improper locking. This could lead to local escalation of privilege in storaged with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11Android ID: A-170732441","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00268,"percentile":0.19096,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-416"],"published":"2021-02-01T00:00:00Z","modified":"2026-11-05T16:32:28Z","exploits":[{"source":"pocgithub","id":"Satheesh575555/system_core_AOSP10_r33-CVE-2021-0330","title":"Satheesh575555/system_core_AOSP10_r33-CVE-2021-0330","date":"2022-03-31","url":"https://github.com/Satheesh575555/system_core_AOSP10_r33-CVE-2021-0330"}],"fixes":[{"ecosystem":"Android","package":"platform/system/core","fixed_in":["8.0:2021-02-01","8.1:2021-02-01","9:2021-02-01","10:2021-02-01","11:2021-02-01"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Android","package":"platform/system/core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0:0"},{"fixed":"8.0:2021-02-01"}]}],"versions":["8.0"]},{"source":"osv","ecosystem":"Android","package":"platform/system/core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.1:0"},{"fixed":"8.1:2021-02-01"}]}],"versions":["8.1"]},{"source":"osv","ecosystem":"Android","package":"platform/system/core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9:0"},{"fixed":"9:2021-02-01"}]}],"versions":["9"]},{"source":"osv","ecosystem":"Android","package":"platform/system/core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2021-02-01"}]}],"versions":["10"]},{"source":"osv","ecosystem":"Android","package":"platform/system/core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2021-02-01"}]}],"versions":["11"]}],"products":[{"vendor":"google","product":"android"}],"references":[{"url":"https://source.android.com/security/bulletin/2021-02-01","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-0330"},{"url":"https://github.com/advisories/GHSA-8pqc-794r-q3c3"},{"url":"https://android.googlesource.com/platform/system/core/+/79fc288f10814d5862a2320d0e0732040a4823fe","tags":["fix"]}],"sources":{"cve":[{"id":"CVE-2021-0330","description":"In add_user_ce and remove_user_ce of storaged.cpp, there is a possible use-after-free due to improper locking. This could lead to local escalation of privilege in storaged with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11Android ID: A-170732441","status":"published","published":"2021-02-10T16:49:53Z","modified":"2024-08-03T15:39:59.57Z","updated_at":"2026-11-02T14:33:10.887946Z"}],"euvd":[{"id":"EUVD-2021-2949","description":"In add_user_ce and remove_user_ce of storaged.cpp, there is a possible use-after-free due to improper locking. This could lead to local escalation of privilege in storaged with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11Android ID: A-170732441","status":"published","published":"2021-02-10T16:49:53Z","modified":"2024-08-03T15:39:59Z","updated_at":"2026-11-03T03:25:17.997367Z"}],"ghsa":[{"id":"GHSA-8pqc-794r-q3c3","title":"In add_user_ce and remove_user_ce of storaged.cpp, there is a possible use-after-free due to...","description":"In add_user_ce and remove_user_ce of storaged.cpp, there is a possible use-after-free due to improper locking. This could lead to local escalation of privilege in storaged with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11Android ID: A-170732441","status":"published","published":"2022-05-24T17:41:44Z","modified":"2023-01-29T05:05:39Z","cwes":["CWE-416"],"updated_at":"2026-11-02T14:45:50.827495Z"}],"nvd":[{"id":"CVE-2021-0330","description":"In add_user_ce and remove_user_ce of storaged.cpp, there is a possible use-after-free due to improper locking. This could lead to local escalation of privilege in storaged with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-9 Android-10 Android-11Android ID: A-170732441","status":"published","published":"2021-02-10T17:15:19.957Z","modified":"2026-06-17T03:29:48.267Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:06:50.031227Z"}],"osv":[{"id":"ASB-A-170732441","description":"In add_user_ce and remove_user_ce of storaged.cpp, there is a possible use-after-free due to improper locking. This could lead to local escalation of privilege in storaged with no additional execution privileges needed. User interaction is not needed for exploitation.","status":"published","published":"2021-02-01T00:00:00Z","modified":"2026-11-10T17:02:23.040266809Z","updated_at":"2026-11-09T17:04:22.742827Z"}]}}
