Dear bug-bash team:
I hope this email finds you well. During my recent security
assessment of bash, I identified a potential security vulnerability that I
believe may impact the security of your product and its users.
here is details:
1??mapfile -C xxx will call run_callback
2??evil "execstr" parameter passing causes rce
mapfile.def
for example in bash shell:
echo -e "line1\nline2\nline3\nline4\nline5\nline6\nline7\nline8\nline9\nline10"
> test.txt
mapfile -t -C "whoami #111" -c 5 my_array < test.txt
I want to assign a CVE ID to the vulnerability
I look forward to working with you to address this matter promptly and
securely. Please feel free to contact me directly if you have any
questions or need further information.
Thank you for your attention to this matter.