Rails <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 are susceptible to a file content disclosure vulnerability because specially crafted accept headers can cause contents of arbitrary files on the target system’s file system to be exposed.
View the template here CVE-2019-5418.yaml
References:
https://nvd.nist.gov/vuln/detail/CVE-2019-5418