CVE Database›CVE-2024-27280

CVE-2024-27280

ruby: Buffer overread vulnerability in StringIO

Loading…

Severity

Moderate

Red Hat Product Security

3.1

CVSS 3.1

Review impact separately from score.

Published · March 21, 2024

Updated · January 27, 2026

Description

A buffer overread flaw was found in rubygem StringIO. The ungetbyte and ungetc methods on a StringIO object can read past the end of a string, and a subsequent call to StringIO.gets may return the memory value.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

CVSS 3.1 · 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

CWE-126 · Buffer Over-read