In the process of investigating Rails regular expressions using Regexploit, I discovered that i18n sometimes had ReDoS problems.
ReDoS seems to occur when there is a code like below.
I18n.interpolate('%<0>' + '0' * 3456, :num => 1)
The problem occurs when there is a translation file like the one below, but it seems that there are few cases where an attacker can inject on it.
In the process of investigating Rails regular expressions using Regexploit, I discovered that i18n sometimes had ReDoS problems. ReDoS seems to occur when there is a code like below.
The problem occurs when there is a translation file like the one below, but it seems that there are few cases where an attacker can inject on it.
Results of Regexploit