Apache NuttX RTOS
cpe:2.3:a:apache:nuttx:*:*:*:*:*:*:*, +1 more
- >= 6.22, < 12.9.0
A buffer overflow vulnerability has been identified in the Apache NuttX RTOS XMLRPC example application, specifically in versions 6.22 prior to 12.9.0. The issue arises from a hardcoded buffer size in the device stats structure, which stores remotely provided parameters. This limitation can lead to a buffer overflow, as the buffer size does not accommodate the actual data being processed. Users of XMLRPC in Apache NuttX RTOS are advised to review their code for this pattern and update buffer sizes accordingly.
Exploitation of this vulnerability can lead to a buffer overflow, potentially allowing for arbitrary code execution or causing a denial-of-service condition.
The vulnerability can be reproduced by compiling the Apache NuttX RTOS XMLRPC example application with the default buffer size, which is insufficient to handle the incoming data. This can be done by configuring the 'EXAMPLES_XMLRPC_BUFFERSIZE' and 'XMLRPC_STRINGSIZE' parameters to their default values, then building and uploading the application to an ESP32 device.
Users should update to Apache NuttX RTOS version 12.9.0 or later, and review their XMLRPC code to ensure buffer sizes are correctly set. Instructions for updating can be found in the Apache NuttX documentation.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.