Multiple vulnerabilities in Ruby on Rails



Published: 2021-05-10
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2021-22885
CVE-2021-22904
CWE-ID CWE-200
CWE-416
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Ruby on Rails
Universal components / Libraries / Scripting languages

Vendor Rails

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Information disclosure

EUVDB-ID: #VU53001

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2021-22885

CWE-ID: CWE-200 - Information Exposure

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to improper input validation in the Action Pack within the "redirect_to" or "polymorphic_url" helper. A remote attacker can gain unauthorized access to sensitive information on the system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Ruby on Rails: 1.0.0 - 2.0.0


CPE2.3 External links

http://seclists.org/oss-sec/2021/q2/101

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

2) Use-after-free

EUVDB-ID: #VU53004

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2021-22904

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a use-after-free error in the Token Authentication logic in Action Controller. A remote attacker can send a specially crafted request and cause a denial of service condition on the target system. 

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Ruby on Rails: 4.0.0 - 6.1.3.1


CPE2.3 External links

http://seclists.org/oss-sec/2021/q2/102

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###