Debian update for rails



Published: 2021-06-10
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
Subscribe
rails (Debian package)
Operating systems & Components / Operating system package or component

Vendor Debian

Security Advisory

1) Incorrect Regular Expression

Risk: Medium

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

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, 2:5.2.2.1+dfsg-1+deb10u1, 2:5.2.2.1+dfsg-1+deb10u2, 5.2.2.1+dfsg-1+deb10u1, 5.2.2.1+dfsg-1+deb10u2

CPE 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

Risk: Medium

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

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

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, 2:5.2.2.1+dfsg-1+deb10u1, 2:5.2.2.1+dfsg-1+deb10u2, 5.2.2.1+dfsg-1+deb10u1, 5.2.2.1+dfsg-1+deb10u2

CPE 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

Risk: Medium

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

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, 2:5.2.2.1+dfsg-1+deb10u1, 2:5.2.2.1+dfsg-1+deb10u2, 5.2.2.1+dfsg-1+deb10u1, 5.2.2.1+dfsg-1+deb10u2

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