ID |
CVE-2017-0898
|
Summary |
Ruby before 2.4.2, 2.3.5, and 2.2.8 is vulnerable to a malicious format string which contains a precious specifier (*) with a huge minus value. Such situation can lead to a buffer overrun, resulting in a heap memory corruption or an information disclosure from the heap. |
References |
|
Vulnerable Configurations |
-
cpe:2.3:a:ruby-lang:ruby:2.2.0:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.2.0:*:*:*:*:*:*:*
-
cpe:2.3:a:ruby-lang:ruby:2.2.1:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.2.1:*:*:*:*:*:*:*
-
cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*
-
cpe:2.3:a:ruby-lang:ruby:2.2.3:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.2.3:*:*:*:*:*:*:*
-
cpe:2.3:a:ruby-lang:ruby:2.2.4:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.2.4:*:*:*:*:*:*:*
-
cpe:2.3:a:ruby-lang:ruby:2.2.5:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.2.5:*:*:*:*:*:*:*
-
cpe:2.3:a:ruby-lang:ruby:2.2.6:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.2.6:*:*:*:*:*:*:*
-
cpe:2.3:a:ruby-lang:ruby:2.2.7:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.2.7:*:*:*:*:*:*:*
-
cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*
-
cpe:2.3:a:ruby-lang:ruby:2.3.1:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.3.1:*:*:*:*:*:*:*
-
cpe:2.3:a:ruby-lang:ruby:2.3.2:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.3.2:*:*:*:*:*:*:*
-
cpe:2.3:a:ruby-lang:ruby:2.3.3:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.3.3:*:*:*:*:*:*:*
-
cpe:2.3:a:ruby-lang:ruby:2.3.4:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.3.4:*:*:*:*:*:*:*
-
cpe:2.3:a:ruby-lang:ruby:2.4.0:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.4.0:*:*:*:*:*:*:*
-
cpe:2.3:a:ruby-lang:ruby:2.4.1:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.4.1:*:*:*:*:*:*:*
|
CVSS |
Base: | 6.4 (as of 15-07-2018 - 01:29) |
Impact: | |
Exploitability: | |
|
CWE |
CWE-134 |
CAPEC |
-
String Format Overflow in syslog()
This attack targets the format string vulnerabilities in the syslog() function. An attacker would typically inject malicious input in the format string parameter of the syslog function. This is a common problem, and many public vulnerabilities and associated exploits have been posted.
-
Format String Injection
An adversary includes formatting characters in a string input field on the target application. Most applications assume that users will provide static text and may respond unpredictably to the presence of formatting character. For example, in certain functions of the C programming languages such as printf, the formatting character %s will print the contents of a memory location expecting this location to identify a string and the formatting character %n prints the number of DWORD written in the memory. An adversary can use this to read or write to memory locations or files, or simply to manipulate the value of the resulting text in unexpected ways. Reading or writing memory may result in program crashes and writing memory could result in the execution of arbitrary code if the adversary can write to the program stack.
|
Access |
Vector | Complexity | Authentication |
NETWORK |
LOW |
NONE |
|
Impact |
Confidentiality | Integrity | Availability |
PARTIAL |
NONE |
PARTIAL |
|
cvss-vector
via4
|
AV:N/AC:L/Au:N/C:P/I:N/A:P
|
redhat
via4
|
|
refmap
via4
|
bid | 100862 | debian | DSA-4031 | gentoo | GLSA-201710-18 | misc | | mlist | [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update | sectrack | 1039363 | ubuntu | USN-3685-1 |
|
Last major update |
15-07-2018 - 01:29 |
Published |
15-09-2017 - 19:29 |
Last modified |
15-07-2018 - 01:29 |