Home
Trends
Vulnerabilities
News
Researchers
Why dbugs?

Dee-See

#34829of 53,624
7.5Total CVSS
Vulnerabilities · 1
PT-2021-5826
7.5
2021-02-11
Ruby On Rails · Active Record · CVE-2021-22880
**Name of the Vulnerable Software and Affected Versions** Active Record versions prior to 6.1.2.1 Active Record versions prior to 6.0.3.5 Active Record versions prior to 5.2.4.5 **Description** The PostgreSQL adapter in Active Record suffers from a regular expression denial of service (REDoS) vulnerability. Carefully crafted input can cause the input validation in the `money` type of the PostgreSQL adapter in Active Record to spend too much time in a regular expression, resulting in the potential for a DoS attack. This only impacts Rails applications that are using PostgreSQL along with money type columns that take user input. **Recommendations** For versions prior to 6.1.2.1, update to version 6.1.2.1 or later. For versions prior to 6.0.3.5, update to version 6.0.3.5 or later. For versions prior to 5.2.4.5, update to version 5.2.4.5 or later. As a temporary workaround, consider restricting the use of the `money` type in the PostgreSQL adapter to minimize the risk of exploitation.