An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5. A stack out-of-bounds read occurs in match_at() during regular expression searching. A logical error involving order of validation and access in match_at() could result in an out-of-bounds read from a stack buffer.
Platform | Package | Release Date | Advisory |
---|---|---|---|
Amazon Linux 2 - Core | oniguruma | 2023-08-17 11:58 | ALAS2-2023-2217 |
Amazon Linux 1 | php56 | 2017-08-17 18:16 | ALAS-2017-871 |
Amazon Linux 1 | php70 | 2017-08-03 20:38 | ALAS-2017-867 |
Amazon Linux 2 - Core | ruby | 2023-08-03 18:10 | ALAS2-2023-2201 |
Amazon Linux 1 | ruby20 | 2023-08-30 17:56 | ALAS-2023-1824 |
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 4.8 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L |
NVD | CVSSv2 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
NVD | CVSSv3 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |