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.
Remediation
References
Related Vulnerabilities
SharePoint CVE-2019-1205 Vulnerability (CVE-2019-1205)
PostgreSQL Permissions, Privileges, and Access Controls Vulnerability (CVE-2010-1170)
SharePoint CVE-2021-31172 Vulnerability (CVE-2021-31172)
Apache HTTP Server Other Vulnerability (CVE-1999-0926)
Moodle Cross-Site Request Forgery (CSRF) Vulnerability (CVE-2019-10186)