Debian update for rails



Risk Medium
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2021-22880
CVE-2021-22885
CVE-2021-22904
CWE-ID CWE-185
CWE-200
CWE-416
Exploitation vector Network
Public exploit N/A
Vulnerable software
rails (Debian package)
Operating systems & Components / Operating system package or component

Vendor Debian

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Incorrect Regular Expression

EUVDB-ID: #VU50606

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2021-22880

CWE-ID: CWE-185 - Incorrect Regular Expression

Exploit availability: No

Description

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

The vulnerability exists due to incorrect regular expression for money processing format in the PostgreSQL adapter. A remote attacker can pass specially crafted input to the application and perform a regular expression denial of service (ReDOS) attack.

Mitigation

Update rails package to version 2:5.2.2.1+dfsg-1+deb10u3.

Vulnerable software versions

rails (Debian package): 2:5.2.2.1+dfsg-1+deb10u1 - 5.2.2.1+dfsg-1+deb10u2

CPE2.3 External links

https://www.debian.org/security/2021/dsa-4929


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.

2) Information disclosure

EUVDB-ID: #VU53001

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2021-22885

CWE-ID: CWE-200 - Exposure of sensitive information to an unauthorized actor

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

Update rails package to version 2:5.2.2.1+dfsg-1+deb10u3.

Vulnerable software versions

rails (Debian package): 2:5.2.2.1+dfsg-1+deb10u1 - 5.2.2.1+dfsg-1+deb10u2

CPE2.3 External links

https://www.debian.org/security/2021/dsa-4929


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.

3) Use-after-free

EUVDB-ID: #VU53004

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

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

Update rails package to version 2:5.2.2.1+dfsg-1+deb10u3.

Vulnerable software versions

rails (Debian package): 2:5.2.2.1+dfsg-1+deb10u1 - 5.2.2.1+dfsg-1+deb10u2

CPE2.3 External links

https://www.debian.org/security/2021/dsa-4929


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###