CVE-2009-4124
Severity CVSS v4.0:
Pending analysis
Type:
CWE-119
Buffer Errors
Publication date:
11/12/2009
Last modified:
09/04/2025
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.
Impact
Base Score 2.0
10.00
Severity 2.0
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| 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:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://secunia.com/advisories/37660
- http://www.osvdb.org/60880
- http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/
- http://www.securityfocus.com/bid/37278
- http://www.vupen.com/english/advisories/2009/3471
- https://exchange.xforce.ibmcloud.com/vulnerabilities/54674
- http://secunia.com/advisories/37660
- http://www.osvdb.org/60880
- http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/
- http://www.securityfocus.com/bid/37278
- http://www.vupen.com/english/advisories/2009/3471
- https://exchange.xforce.ibmcloud.com/vulnerabilities/54674



