{"id":"CVE-2024-31331","aliases":["A-297517712","ASB-A-297517712","EUVD-2024-29227","GHSA-5qqh-mh68-3gvv"],"status":"published","title":"In setMimeGroup of PackageManagerService.java, there is a possible way to hide the service from...","description":"In setMimeGroup of PackageManagerService.java, there is a possible way to hide the service from Settings due to a logic error in the code. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation.","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00117,"percentile":0.01687,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-783"],"published":"2024-07-01T00:00:00Z","modified":"2026-11-05T16:32:28Z","fixes":[{"ecosystem":"Android","package":"platform/frameworks/base","fixed_in":["14-next:2024-07-01","12:2024-07-01","12L:2024-07-01","13:2024-07-01","14:2024-07-01"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Android","package":"platform/frameworks/base","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14-next:0"},{"fixed":"14-next:2024-07-01"}]}],"versions":["14-next"]},{"source":"osv","ecosystem":"Android","package":"platform/frameworks/base","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12:0"},{"fixed":"12:2024-07-01"}]}],"versions":["12"]},{"source":"osv","ecosystem":"Android","package":"platform/frameworks/base","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12L:0"},{"fixed":"12L:2024-07-01"}]}],"versions":["12L"]},{"source":"osv","ecosystem":"Android","package":"platform/frameworks/base","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13:0"},{"fixed":"13:2024-07-01"}]}],"versions":["13"]},{"source":"osv","ecosystem":"Android","package":"platform/frameworks/base","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"14:0"},{"fixed":"14:2024-07-01"}]}],"versions":["14"]}],"products":[{"vendor":"google","product":"android"}],"references":[{"url":"https://android.googlesource.com/platform/frameworks/base/+/c8694bbccfb9c19aefed536ea710230107c935eb","tags":["x_transferred","Mailing List","Patch","fix"]},{"url":"https://source.android.com/security/bulletin/2024-07-01","tags":["x_transferred","Patch","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31331"},{"url":"https://github.com/advisories/GHSA-5qqh-mh68-3gvv"}],"sources":{"cve":[{"id":"CVE-2024-31331","description":"In setMimeGroup of PackageManagerService.java, there is a possible way to hide the service from Settings due to a logic error in the code. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation.","status":"published","published":"2024-07-09T20:11:27.49Z","modified":"2025-03-14T19:02:35.258Z","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":"adp"}],"cwes":["CWE-783"],"updated_at":"2026-11-02T14:34:14.308905Z"}],"euvd":[{"id":"EUVD-2024-29227","description":"In setMimeGroup of PackageManagerService.java, there is a possible way to hide the service from Settings due to a logic error in the code. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation.","status":"published","published":"2024-07-09T20:11:27Z","modified":"2025-03-14T19:02:35Z","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"}],"updated_at":"2026-11-02T20:53:02.719002Z"}],"ghsa":[{"id":"GHSA-5qqh-mh68-3gvv","title":"In setMimeGroup of PackageManagerService.java, there is a possible way to hide the service from...","description":"In setMimeGroup of PackageManagerService.java, there is a possible way to hide the service from Settings due to a logic error in the code. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation.","status":"published","published":"2024-07-09T21:30:39Z","modified":"2024-07-12T18:31:47Z","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"}],"cwes":["CWE-783"],"updated_at":"2026-11-02T14:57:41.46165Z"}],"nvd":[{"id":"CVE-2024-31331","description":"In setMimeGroup of PackageManagerService.java, there is a possible way to hide the service from Settings due to a logic error in the code. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation.","status":"published","published":"2024-07-09T21:15:13.883Z","modified":"2026-06-17T07:28:12.89Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"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":"secondary"}],"cwes":["CWE-783"],"updated_at":"2026-11-02T14:10:12.016585Z"}],"osv":[{"id":"ASB-A-297517712","description":"In setMimeGroup of PackageManagerService.java, there is a possible way to hide the service from Settings due to a logic error in the code. This could lead to local escalation of privilege with User execution privileges needed. User interaction is needed for exploitation.","status":"published","published":"2024-07-01T00:00:00Z","modified":"2026-11-05T16:32:28.703711716Z","updated_at":"2026-11-05T17:55:15.724291Z"}]}}
