PUB-A-231445184

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-231445184.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-231445184
Aliases
  • A-231445184
  • CVE-2022-42542
Published
2022-12-01T00:00:00Z
Modified
2026-09-22T15:22:15Z
Summary
[none]
Details

In phNxpNciHal_core_initialized of phNxpNciHal.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.

References

Affected packages

Android / platform/hardware/nxp/nfc

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13:0
Fixed
13:2022-12-01

Affected versions

Other
13

Ecosystem specific

{
    "fixes":  [
        "https://android.googlesource.com/platform/hardware/nxp/nfc/+/d0f860e0ce444b90dd771a098e27d21c94a05625"
    ],
    "severity":  "Moderate",
    "spl":  "2022-12-01",
    "types":  [
        "EoP"
    ],
    "vanir_signatures":  [
        {
            "deprecated":  false,
            "digest":  {
                "function_hash":  "51253881135862347428239957564780186079",
                "length":  14692
            },
            "id":  "PUB-A-231445184-2c5f8ae4",
            "match_only_versions":  [
                "13"
            ],
            "signature_type":  "Function",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/hardware/nxp/nfc/+/d0f860e0ce444b90dd771a098e27d21c94a05625",
            "target":  {
                "file":  "pn8x/halimpl/hal/phNxpNciHal.cc",
                "function":  "phNxpNciHal_core_initialized"
            }
        },
        {
            "deprecated":  false,
            "digest":  {
                "line_hashes":  [
                    "290237279516744424820959506356429186476",
                    "58054509618899671025145325802600266123",
                    "16350532519576600318529709610994724560",
                    "3672917913846760715927117833065794724"
                ],
                "threshold":  0.9
            },
            "id":  "PUB-A-231445184-2fe40e62",
            "match_only_versions":  [
                "13"
            ],
            "signature_type":  "Line",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/hardware/nxp/nfc/+/d0f860e0ce444b90dd771a098e27d21c94a05625",
            "target":  {
                "file":  "pn8x/halimpl/hal/phNxpNciHal.cc"
            }
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/android-osv/PUB-A-231445184.json"