UBUNTU-CVE-2016-2338

    Dashboard / Vulnerabilities / UBUNTU-CVE-2016-2338

    UBUNTU-CVE-2016-2338

    Published: 29 Sept 2022Last Modified: 16 Jul 2025
    Upstream:

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: ruby2.3

    Purl: pkg:deb/ubuntu/[email protected]~ubuntu16.04.14?arch=source&distro=xenial

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.3.1-2~ubuntu16.04.14

    Affected versions

    2.3.0-1
    2.3.0-2
    2.3.0-4ubuntu2
    2.3.0-4ubuntu3
    2.3.0-5ubuntu1
    2.3.1-2~16.04
    2.3.1-2~16.04.2
    2.3.1-2~16.04.4
    2.3.1-2~16.04.5
    2.3.1-2~16.04.6
    2.3.1-2~16.04.7
    2.3.1-2~16.04.9
    2.3.1-2~16.04.10
    2.3.1-2~16.04.11
    2.3.1-2~16.04.12
    2.3.1-2~ubuntu16.04.13

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2016-2338 | CVE-DB