
Cloud Vulnerability DB
A community-led vulnerabilities database
A buffer overflow vulnerability exists in the razermouse driver of OpenRazer up to version v3.3.0. The vulnerability allows attackers to cause a Denial of Service (DoS) and potentially escalate their privileges via a crafted buffer sent to the matrix_custom_frame device (NVD, CyberArk).
The vulnerability exists in the matrix_custom_frame functionality that allows setting colors of keyboard rows. The issue occurs because there is no validation on the row_length parameter which is calculated based on user-controlled start_col and stop_col values. This allows an attacker to trigger a buffer overflow by providing values that make row_length exceed the 80-byte size limit of the arguments buffer in the razer_report structure (CyberArk). The vulnerability has a CVSS v3.1 score of 9.8 CRITICAL (NVD).
Successful exploitation of this vulnerability could allow an attacker to cause a Denial of Service condition by crashing the driver. On systems without FORTIFY_SOURCE protection enabled, the vulnerability could potentially be chained with an information leak to achieve kernel code execution and privilege escalation (CyberArk).
The vulnerability can be exploited by sending a specially crafted buffer to the matrix_custom_frame device attribute. The exploit requires setting start_col to 0x00 and stop_col to a value larger than 0x18 to make row_length exceed the buffer size. The presence of FORTIFY_SOURCE mitigation can limit the impact to just a DoS condition (CyberArk).
The vulnerability was patched in OpenRazer version 3.3.0 by adding checks before memcpy to prevent buffer overflow. Users should upgrade to version 3.3.0 or later to mitigate this vulnerability (CyberArk).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."