Closed Crispy-fried-chicken closed 2 months ago
@Crispy-fried-chicken heap_4.c is FreeRTOS file, not ours. Is your intention to make a PR against it?
@cpq Yes, I've already make a PR which is https://github.com/cesanta/mongoose/pull/2878. Maybe you can review it?
@Crispy-fried-chicken please do not open several issues for the same subject, #2879
The file you mention belongs to Amazon:
- Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Please address your concerns to them
Thanks for your concerns, once again, that is vendor code, just a usage example, not our code.
Hi, I think your project may be vulnerable to insufficient bounds checking during management of heap memory in the function of
pvPortMalloc (size_t xWantedSize)
in the fileexamples/stm32/nucleo-f746zg-cube-freertos/Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c
. It shares similarities to a recent CVE disclosure CVE-2021-32020 in the FreeRTOS.The source vulnerability information is as follows:
Would you help to check if this bug is true? If it's true, I'd like to open a PR for that if necessary. Thank you for your effort and patience!