{"id":"CVE-2024-31331","state":"PUBLISHED","title":"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 pr","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.","publishedAt":"2024-07-09T20:11:27.490Z","updatedAt":"2025-03-14T19:02:35.258Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"google_android","products":["Google Android"],"affected":[{"vendor":"Google","product":"Android","defaultStatus":"unaffected","versions":[{"version":"14","status":"affected"},{"version":"13","status":"affected"},{"version":"12L","status":"affected"},{"version":"12","status":"affected"}]}],"references":["https://android.googlesource.com/platform/frameworks/base/+/c8694bbccfb9c19aefed536ea710230107c935eb","https://source.android.com/security/bulletin/2024-07-01"],"weaknesses":["CWE-783"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/31xxx/CVE-2024-31331.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-31331","state":"PUBLISHED","datePublished":"2024-07-09T20:11:27.490Z","dateUpdated":"2025-03-14T19:02:35.258Z","assignerShortName":"google_android","assignerOrgId":"baff130e-b8d5-4e15-b3d3-c3cf5d5545c6","dateReserved":"2024-03-29T20:12:57.128Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Google","product":"Android","defaultStatus":"unaffected","versions":[{"version":"14","status":"affected"},{"version":"13","status":"affected"},{"version":"12L","status":"affected"},{"version":"12","status":"affected"}]}],"references":[{"url":"https://android.googlesource.com/platform/frameworks/base/+/c8694bbccfb9c19aefed536ea710230107c935eb"},{"url":"https://source.android.com/security/bulletin/2024-07-01"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Elevation of privilege"}]}],"providerMetadata":{"shortName":"google_android","orgId":"baff130e-b8d5-4e15-b3d3-c3cf5d5545c6","dateUpdated":"2024-07-09T20:11:27.490Z"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"google","product":"android","defaultStatus":"unknown","versions":[{"version":"12","status":"affected"},{"version":"12l","status":"affected"},{"version":"13","status":"affected"},{"version":"14","status":"affected"}],"cpes":["cpe:2.3:o:google:android:*:*:*:*:*:*:*:*"]}],"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-07-12T03:55:33.553945Z","id":"CVE-2024-31331","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-783","type":"CWE","lang":"en","description":"CWE-783 Operator Precedence Logic Error"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-14T19:02:35.258Z"}},{"title":"CVE Program Container","references":[{"url":"https://android.googlesource.com/platform/frameworks/base/+/c8694bbccfb9c19aefed536ea710230107c935eb","tags":["x_transferred"]},{"url":"https://source.android.com/security/bulletin/2024-07-01","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T01:52:56.280Z"}}]}}}