CVE-2009-4124
Summary
| CVE | CVE-2009-4124 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2009-12-11 16:30:00 UTC |
| Updated | 2026-04-23 00:35:47 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
CompleteIntegrity
CompleteAvailability
CompleteAV:N/AC:L/Au:N/C:C/I:C/A:C
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Ruby-lang | Ruby | 1.9.1 | -p0 | All | All |
| Application | Ruby-lang | Ruby | 1.9.1 | -p129 | All | All |
| Application | Ruby-lang | Ruby | 1.9.1 | -p243 | All | All |
| Application | Ruby-lang | Ruby | 1.9.1 | -preview_1 | All | All |
| Application | Ruby-lang | Ruby | 1.9.1 | -preview_2 | All | All |
| Application | Ruby-lang | Ruby | 1.9.1 | -rc1 | All | All |
| Application | Ruby-lang | Ruby | 1.9.1 | -rc2 | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Heap overflow in String | af854a3a-2127-422b-91ae-364da2661108 | www.ruby-lang.org | Patch, Vendor Advisory |
| IBM X-Force Exchange | af854a3a-2127-422b-91ae-364da2661108 | exchange.xforce.ibmcloud.com | |
| www.osvdb.org/60880 | af854a3a-2127-422b-91ae-364da2661108 | www.osvdb.org | |
| Ruby "rb_str_justify()" Buffer Overflow Vulnerability - Secunia.com | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| Ruby 'rb_str_justify()' Heap Based Buffer Overflow Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| Webmail : Solution de messagerie professionnelle - OVHcloud- OVH | af854a3a-2127-422b-91ae-364da2661108 | www.vupen.com | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.