| Title | Ruby の string.c におけるヒープベースのバッファオーバーフローの脆弱性 |
|---|---|
| Summary | Ruby の string.c の rb_str_justify 関数は、以下に関する処理に不備があるため、ヒープベースのバッファオーバーフローの脆弱性が存在します。 (1) String#ljust (2) String#center (3) String#rjust |
| Possible impacts | 攻撃者により、任意のコードを実行される可能性があります。 |
| Solution | ベンダ情報および参考情報を参照して適切な対策を実施してください。 |
| Publication Date | Dec. 11, 2009, midnight |
| Registration Date | Dec. 20, 2012, 7:28 p.m. |
| Last Update | Dec. 20, 2012, 7:28 p.m. |
| CVSS2.0 : 危険 | |
| Score | 10 |
|---|---|
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Ruby-lang.org |
| Ruby 1.9.1-p376 未満の 1.9.1 |
| No | Changed Details | Date of change |
|---|---|---|
| 0 | [2012年12月20日] 掲載 |
Feb. 17, 2018, 10:37 a.m. |
| Summary | Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1-p376 allows context-dependent attackers to execute arbitrary code via unspecified vectors involving (1) String#ljust, (2) String#center, or (3) String#rjust. NOTE: some of these details are obtained from third party information. |
|---|---|
| Summary | Desbordamiento del búfer de la memoria dinámica en la función rb_str_justify en string.c en Ruby v1.9.1 en versiones anteriores a v1.9.1-p376 atacantes dependientes del contexto podrían ejecutar código arbitrario a través de vectores sin especificar que incluyen (1) String#ljust, (2) String#center, o (3) String#rjust. NOTA: Algunos de los detalles han sido obtenidos de terceros. |
| Publication Date | Dec. 12, 2009, 1:30 a.m. |
| Registration Date | Jan. 29, 2021, 1:26 p.m. |
| Last Update | April 23, 2026, 9:35 a.m. |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:ruby-lang:ruby:1.9.1:-p0:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.1:-p129:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.1:-p243:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_1:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_2:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc1:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc2:*:*:*:*:*:* | |||||