Remote code execution in RubyGems



Published: 2021-06-14 | Updated: 2021-06-14
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID N/A
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
RubyGems
Universal components / Libraries / Libraries used by multiple products

Vendor Ruby

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Input validation error

EUVDB-ID: #VU54082

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 - Improper input validation

Exploit availability: No

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.



###SIDEBAR###