CVE-2014-4975

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

Published Nov 15, 2014 CVSS 2.0 · 5.0 Medium EPSS 3.5% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-200-1 ruby1.9.1 security update
Debian DSA Debian DSA DSA-3157-1 ruby1.9.1 security update
EUVD EUVD EUVD-2014-4890 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.
Ubuntu USN Ubuntu USN USN-2397-1 Ruby vulnerabilities
History

No history.

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-121

    Stack-based Buffer Overflow

  • CWE-193

    Off-by-one Error

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 11:34 AM
Reserved
Jul 15, 2014, 12:00 AM
Status
Modified
Published
Nov 15, 2014, 8:59 PM
Modified
Jun 17, 2026, 12:10 AM
Severity
Low
Public date
Jul 9, 2014, 12:00 AM