Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2009-4124 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

No CVSS 3.x data is available for this CVE.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer[email protected]

Affected Products

ProductVersions
ruby-lang ruby
1.9.1 -p0
1.9.1 -p129
1.9.1 -p243
1.9.1 -preview_1
1.9.1 -preview_2

CPE

  • cpe:2.3:a:ruby-lang:ruby:1.9.1:-p0:*:*:*:*:*:*
  • cpe:2.3:a:ruby-lang:ruby:1.9.1:-p129:*:*:*:*:*:*
  • cpe:2.3:a:ruby-lang:ruby:1.9.1:-p243:*:*:*:*:*:*
  • cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_1:*:*:*:*:*:*
  • cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_2:*:*:*:*:*:*
  • cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc1:*:*:*:*:*:*
  • cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc2:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

6 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2009-4124
NVD Published Date:
Dec 11, 2009
NVD Last Modified:
Jun 16, 2026
Source:
[email protected]