Denial of service in RubyGems Optimized XML



Published: 2017-10-30 | Updated: 2018-03-19
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2017-16229
CWE-ID CWE-126
Exploitation vector Local
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Optimized XML
Server applications / File servers (FTP/HTTP)

Vendor Ruby

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Stack-based buffer over-read

EUVDB-ID: #VU11162

Risk: Low

CVSSv3.1: 5 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2017-16229

CWE-ID: CWE-126 - Buffer over-read

Exploit availability: No

Description

The vulnerability allows a local attacker to cause DoS condition on the target system.

The weakness exists in the read_from_str function due to stack-based buffer overread. A local attacker can send specially crafted input to be parsed by the sax_parse function, trigger memory corruption and cause the service to crash.

Mitigation

Update to version 2.8.2.

Vulnerable software versions

Optimized XML: 2.8.1

External links

http://github.com/ohler55/ox/issues/195


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

The attacker would have to login to the system and perform certain actions in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###