Re: Bash has a stack overflow vulnerability

2024-05-30 Thread Chet Ramey
On 5/30/24 12:53 AM, B_M wrote: Hello, I have discovered a severe heap overflow vulnerability in Bash, which exists in both the latest and older versions. Attackers can craft payloads to elevate privileges or execute malicious code. Should I directly submit it to the CVE website, or should I send

Bash has a stack overflow vulnerability

2024-05-30 Thread B_M
Hello, I have discovered a severe heap overflow vulnerability in Bash, which exists in both the latest and older versions. Attackers can craft payloads to elevate privileges or execute malicious code. Should I directly submit it to the CVE website, or should I send it to you? If I send it to you, c

Re: Stack overflow

2022-08-31 Thread Chet Ramey
On 8/30/22 1:05 PM, Иван Капранов wrote: Bash Version: 5.1 Patch Level: 16 Release Status: release Hi! I was fuzzing bash with AFL++ and found stack overflow. Yes, if you word-expand a string that specifies that an identical word expansion be performed, you're goi

Stack overflow

2022-08-30 Thread Иван Капранов
and found stack overflow. Description: A recursive call to a chain of functions leads to a stack overflow and a program crash (segmentation fault). Asan report: Address sanitizer report: ==693300==ERROR: AddressSanitizer: stack-overflow on address 0x7ffe7a72f970 (pc 0x7f1bc73f7620

Re: bash -n: stack overflow in extract_delimited_string()

2020-08-03 Thread Jakub Wilk
* Chet Ramey , 2020-08-03, 09:15: On 8/3/20 5:30 AM, Jakub Wilk wrote: Bash Version: 5.0 Patch Level: 18 Release Status: release bash crashes with stack overflow when checking syntax of this crafted script:   $ ulimit -s   8192   $ printf 'x[$(($(fi)))`\n%05d\n][`]\n' | tr 0

Re: bash -n: stack overflow in extract_delimited_string()

2020-08-03 Thread Chet Ramey
On 8/3/20 5:30 AM, Jakub Wilk wrote: > Bash Version: 5.0 > Patch Level: 18 > Release Status: release > > bash crashes with stack overflow when checking syntax of this crafted script: > >   $ ulimit -s >   8192 > >   $ printf 'x[$(($(fi)))`\n%05d\n][

bash -n: stack overflow in extract_delimited_string()

2020-08-03 Thread Jakub Wilk
Status: release bash crashes with stack overflow when checking syntax of this crafted script: $ ulimit -s 8192 $ printf 'x[$(($(fi)))`\n%05d\n][`]\n' | tr 0 '(' | bash -n bash: command substitution: line 4: syntax error near unexpected token `fi' bash: com