Description
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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://www.talosintelligence.com/reports/TALOS-2016-0032/Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/03/msg00032.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20221228-0005/Third Party Advisory
- http://www.talosintelligence.com/reports/TALOS-2016-0032/Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/03/msg00032.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20221228-0005/Third Party Advisory
Timeline
- Published
- Sep 29, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified