An exploitable heap overflow vulnerability exists in the Psych::Emitter start_document function of Ruby. In Psych::Emitter start_document function heap buffer "head" allocation is made based on tags array length. Specially constructed object passed as element of tags array can increase this array size after mentioned allocation and cause heap overflow.
2022-09-29T03:15:11.470
2024-11-21T02:48:15.353
Modified
CVSSv3.1: 9.8 (CRITICAL)
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | ruby-lang | ruby | 2.2.2 | Yes |
Application | ruby-lang | ruby | 2.3.0 | Yes |
Operating System | debian | debian_linux | 8.0 | Yes |