CVE-2022-20462: Out of Bounds Write in phNxpNciHal_write_unlocked Function in phNxpNciHal.cc in nfc_nci_nxp
Summary
CVE-2022-20462: In phNxpNciHal_write_unlocked of phNxpNciHal.cc, there is a possible out of bounds write due to a missing bounds check. Affects platform/hardware/nxp/nfc across 5 version ranges.
>= 10:0, < 10:2022-11-01
>= 11:0, < 11:2022-11-01
>= 12:0, < 12:2022-11-01
>= 12L:0, < 12L:2022-11-01
>= 13:0, < 13:2022-11-01
Fixed in 10:2022-11-01. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The package under scrutiny is platform/hardware/nxp/nfc, which is a component of the Android ecosystem. It is responsible for handling Near Field Communication (NFC) functionality on devices. NFC allows for short-range communication between devices, enabling various applications such as contactless payments and data transfer. This vulnerability affects versions 10 and above of the Android operating system.
Vulnerability Detail
The vulnerability resides in the phNxpNciHal_write_unlocked function in phNxpNciHal.cc file of the nfc_nci_nxp package. It is caused by a missing bounds check, which can result in an out of bounds write. An attacker could exploit this vulnerability to escalate their privileges locally without requiring additional execution privileges. Notably, user interaction is not necessary for exploitation. The impact of this vulnerability could be severe, potentially leading to unauthorized access or control over the affected device.
How To Fix
Minimum fixed version
10:2022-11-01
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
No workaround has been provided for this vulnerability.
Conclusion
In conclusion, the phNxpNciHal_write_unlocked function in the nfc_nci_nxp package is vulnerable to an out of bounds write. This vulnerability could allow an attacker to locally escalate their privileges without requiring additional execution privileges. It is crucial to update to a version of the package that includes the fix released on November 1, 2022. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for platform/hardware/nxp/nfc →
FAQ
This vulnerability could allow an attacker to locally escalate their privileges without requiring additional execution privileges. It could potentially lead to unauthorized access or control over the affected device.
No, user interaction is not needed for exploitation of this vulnerability.
Versions 10 and above of the Android operating system are affected by this vulnerability.
The fix for this vulnerability can be obtained from the following source: https://android.googlesource.com/platform/hardware/nxp/nfc/+/4ef6287d7b4d2f9857ca3faa1c79f070cbd80e06.
The fix for this vulnerability was released on November 1, 2022.
Related vulnerabilities
Recent vulnerabilities recorded for platform/hardware/nxp/nfc.