Out-of-bounds Write Affecting rubygem-io-console package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.86% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS7-RUBYGEMIOCONSOLE-3044385
  • published14 Oct 2022
  • disclosed29 Sept 2022

Introduced: 29 Sep 2022

CVE-2016-2338  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 rubygem-io-console.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-io-console package and not the rubygem-io-console package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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.

CVSS Scores

version 3.1