Input validation error in ruby (Alpine package)



Published: 2020-07-09
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-10663
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
ruby (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Input validation error

EUVDB-ID: #VU32971

Risk: Medium

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

CVE-ID: CVE-2020-10663

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote non-authenticated attacker to manipulate data.

The JSON gem through 2.2.0 for Ruby, as used in Ruby 2.4 through 2.4.9, 2.5 through 2.5.7, and 2.6 through 2.6.5, has an Unsafe Object Creation Vulnerability. This is quite similar to CVE-2013-0269, but does not rely on poor garbage-collection behavior within Ruby. Specifically, use of JSON parsing methods can lead to creation of a malicious object within the interpreter, with adverse effects that are application-dependent.

Mitigation

Install update from vendor's website.

Vulnerable software versions

ruby (Alpine package): 2.2.4-r0 - 2.4.6-r0

External links

http://git.alpinelinux.org/aports/commit/?id=9187c18b5ec330fb9b5af90d85672f02af3a15d5
http://git.alpinelinux.org/aports/commit/?id=2831552db46aa5611d731c169b45810977d7b96a
http://git.alpinelinux.org/aports/commit/?id=9d8c04b05e9bd2d754e1d7fafde8d286b14751d9
http://git.alpinelinux.org/aports/commit/?id=d64618fe60af05a9e866c32d4bff6db761f2ea2b


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###