system
Identify the affected product in <CVE-2018-16476>.
user
Which product is affected by <CVE-2018-16476>?
assistant
The affected product is https://github.com/rails/rails and version: 4.2.0 up to and before 4.2.11, 4.2.0 up to and before 5.0.7.1, 4.2.0 up to and before 5.1.6.1, 4.2.0 up to and before 5.2.1.1.