CVE-2009-4124

ruby: Heap-based buffer overflow in the rb_str_justify() function

Published Dec 11, 2009 CVSS 2.0 · 10.0 Critical EPSS 3.9% KEV · Not listed
Description
Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1-p376 allows context-dependent attackers to execute arbitrary code via unspecified vectors involving (1) String#ljust, (2) String#center, or (3) String#rjust. NOTE: some of these details are obtained from third party information.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2009-4094 Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1-p376 allows context-dependent attackers to execute arbitrary code via unspecified vectors involving (1) String#ljust, (2) String#center, or (3) String#rjust. NOTE: some of these details are obtained from third party information.
Ubuntu USN Ubuntu USN USN-900-1 Ruby vulnerabilities
History

No history.

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 7, 2024, 6:54 AM
Reserved
Nov 30, 2009, 12:00 AM
Status
Modified
Published
Dec 11, 2009, 4:30 PM
Modified
Jun 16, 2026, 11:13 PM
Severity
Moderate
Public date
Dec 7, 2009, 12:00 AM