GHSA-5cqm-crxm-6qpv

    Dashboard / Vulnerabilities / GHSA-5cqm-crxm-6qpv

    GHSA-5cqm-crxm-6qpv

    Published: 14 Dec 2021Last Modified: 13 Aug 2026

    Summary: Buffer overrun in CGI.escape_html

    Details: A buffer overrun vulnerability was discovered in CGI.escape_html. This can lead to a buffer overflow when a user passes a very large string (> 700 MB) to CGI.escape_html on a platform where long type takes 4 bytes, typically, Windows.

    Affected packages

    Package

    Name: cgi

    Purl: pkg:gem/cgi

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0.3.0
    Fixed -0.3.1

    Affected versions

    0.3.0

    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
    GHSA-5cqm-crxm-6qpv | CVE-DB