PUB-A-227207653

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-227207653.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-227207653
Aliases
  • A-227207653
  • CVE-2023-21192
Published
2023-06-01T00:00:00Z
Modified
2024-11-06T12:16:03.231308Z
Summary
[none]
Details

In setInputMethodWithSubtypeIdLocked of InputMethodManagerService.java, there is a possible way to setup input methods that are not enabled due to improper input validation. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

References

Affected packages

Android / platform/frameworks/base

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13-next:0
Fixed
13-next:2023-06-01

Affected versions

Other

13-next

Ecosystem specific

{
    "vanir_signatures": [
        {
            "match_only_versions": [
                "13-next"
            ],
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "62254932137817019122658985252098018523",
                    "295964014840922994294226066991664009830",
                    "202812284309818429619527170475318128107",
                    "176704292464204913468701428427164499249"
                ]
            },
            "id": "PUB-A-227207653-15ca8a0b",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/inputmethod/InputMethodManagerService.java"
            },
            "signature_type": "Line"
        },
        {
            "match_only_versions": [
                "13-next"
            ],
            "digest": {
                "length": 613.0,
                "function_hash": "307625859859531589155261964946132188509"
            },
            "id": "PUB-A-227207653-18a34f84",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/inputmethod/InputMethodManagerService.java",
                "function": "setInputMethodWithSubtypeIdLocked"
            },
            "signature_type": "Function"
        },
        {
            "match_only_versions": [
                "13-next"
            ],
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "62254932137817019122658985252098018523",
                    "295964014840922994294226066991664009830",
                    "202812284309818429619527170475318128107",
                    "176704292464204913468701428427164499249"
                ]
            },
            "id": "PUB-A-227207653-759353e2",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/inputmethod/InputMethodManagerService.java"
            },
            "signature_type": "Line"
        },
        {
            "match_only_versions": [
                "13-next"
            ],
            "digest": {
                "length": 613.0,
                "function_hash": "307625859859531589155261964946132188509"
            },
            "id": "PUB-A-227207653-908c9be8",
            "source": "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "services/core/java/com/android/server/inputmethod/InputMethodManagerService.java",
                "function": "setInputMethodWithSubtypeIdLocked"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1",
        "https://android.googlesource.com/platform/frameworks/base/+/55f6a873458b72b99364d531e9e0cd54236f1cc1"
    ],
    "spl": "2023-06-01",
    "severity": "Moderate",
    "types": [
        "EoP"
    ]
}