torrust / torrust-index-gui

This repository serves as the frontend for the Torrust Index project.
https://torrust.com
Other
30 stars 16 forks source link

CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer #566

Open josecelano opened 3 months ago

josecelano commented 3 months ago

I've set up https://www.ox.security/ on this repo and It has revealed this security issue:

Code affected: https://github.com/torrust/torrust-index-gui/blob/develop/contrib/dev-tools/su-exec/su-exec.c#L18

printf("Usage: %s user-spec command [args]\n", argv0);

CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer