Apache Nuttx Versions prior to 10.1.0 are vulnerable to integer wrap-around in functions malloc, realloc and memalign. This improper memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution.
[
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "arch/risc-v/src/k210/k210_irq.c"
},
"signature_version": "v1",
"source": "https://github.com/apache/incubator-nuttx/commit/3130ff691e386934eb276587a24d1efacf3bb30b",
"digest": {
"line_hashes": [
"316238073908397001294668170111245935112",
"243780462924448801141492148254774031381",
"276030682232053770831914696041104985276",
"119304014593459627961731653517724272458"
],
"threshold": 0.9
},
"id": "CVE-2021-26461-1d1ad43a"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "arch/risc-v/src/k210/k210_irq.c",
"function": "up_irqinitialize"
},
"signature_version": "v1",
"source": "https://github.com/apache/incubator-nuttx/commit/3130ff691e386934eb276587a24d1efacf3bb30b",
"digest": {
"length": 932.0,
"function_hash": "105513224271813551519762554760106111115"
},
"id": "CVE-2021-26461-abcf61fc"
}
]