#VU54082 Input validation error in RubyGems


Published: 2021-06-14

Vulnerability identifier: #VU54082

Vulnerability risk: Medium

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

CVE-ID: N/A

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
RubyGems
Universal components / Libraries / Libraries used by multiple products

Vendor: Ruby

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to insufficient validation of user-supplied input when processing platform and new line characters. A remote attacker can pass specially crafted input to the application and execute arbitrary code.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

RubyGems: 3.2.0 - 3.2.19


External links
http://github.com/rubygems/rubygems/releases/tag/v3.2.20
http://github.com/rubygems/rubygems/pull/4667


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.


Latest bulletins with this vulnerability