CVEvulnerability

CVE-2014-4975

5.0 MEDIUM Published 2014-11-15 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2014-11-15
Last modified
2026-06-17
Assigner
[email protected]
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
Weaknesses
CWE-119

Description

Off-by-one error in the encodes function in pack.c in Ruby 1.9.3 and earlier, and 2.x through 2.1.2, when using certain format string specifiers, allows context-dependent attackers to cause a denial of service (segmentation fault) via vectors that trigger a stack-based buffer overflow.

Affected configurations

• ruby-lang ruby (<= 1.9.3) • ruby-lang ruby 2.0 • ruby-lang ruby 2.0.0 • ruby-lang ruby 2.1 • ruby-lang ruby 2.1.1 • ruby-lang ruby 2.1.2 • redhat enterprise linux desktop 7.0 • redhat enterprise linux hpc node 7.0 • redhat enterprise linux server 7.0 • redhat enterprise linux workstation 7.0 • debian debian linux 7.0 • debian debian linux 8.0 • canonical ubuntu linux 12.04 • canonical ubuntu linux 14.04 • canonical ubuntu linux 14.10

Related

Weakness · CWE (1)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness

References