The PostgreSQL adapter in Active Record before 18.104.22.168, 22.214.171.124, 126.96.36.199 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.
Created rubygem-activerecord tracking bugs for this issue:
Affects: fedora-all [bug 1930103]
Hackerone's report: https://hackerone.com/reports/1023899
Red Hat Satellite ship affected version of rubygem-activerecord however, the product is not vulnerable to the flaw as it does not use the `money` field type in product code. We may update the rubygem-activerecord dependency in a future release.
This comment was flagged a spam, view the edit history to see the original text if required.