CVE-2009-4124

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.
Configurations

Configuration 1 (hide)

OR 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:*:*:*:*:*:*

History

21 Nov 2024, 01:08

Type Values Removed Values Added
References () http://secunia.com/advisories/37660 - Vendor Advisory () http://secunia.com/advisories/37660 - Vendor Advisory
References () http://www.osvdb.org/60880 - () http://www.osvdb.org/60880 -
References () http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/ - Patch, Vendor Advisory () http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/ - Patch, Vendor Advisory
References () http://www.securityfocus.com/bid/37278 - () http://www.securityfocus.com/bid/37278 -
References () http://www.vupen.com/english/advisories/2009/3471 - Vendor Advisory () http://www.vupen.com/english/advisories/2009/3471 - Vendor Advisory
References () https://exchange.xforce.ibmcloud.com/vulnerabilities/54674 - () https://exchange.xforce.ibmcloud.com/vulnerabilities/54674 -

Information

Published : 2009-12-11 16:30

Updated : 2024-11-21 01:08


NVD link : CVE-2009-4124

Mitre link : CVE-2009-4124

CVE.ORG link : CVE-2009-4124


JSON object : View

Products Affected

ruby-lang

  • ruby
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer