Back

MEDIUM

ruby: off-by-one stack-based buffer overflow in the encodes() function

Published Nov 15, 2014

Description

Off-by-one error in the encodes function in pack.c in Ruby 1.9.3 and earlier, and 2.x through 2.1.2, when using certain format string specifiers, allows context-dependent attackers to cause a denial of service (segmentation fault) via vectors that trigger a stack-based buffer overflow.

Affected products

Remediation

Red Hat statement

This issue did not affect the versions of ruby as shipped with Red Hat Enterprise Linux 5 and 6.

Metrics

References (17)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Nov 15, 2014
Updated Aug 6, 2024
Reserved Jul 15, 2014
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Low
Public date Jul 9, 2014