{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "https://github.com/rails/rails",
                    "vendor": "Rails",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "5.2.2.1"
                        },
                        {
                            "status": "affected",
                            "version": "5.1.6.2"
                        },
                        {
                            "status": "affected",
                            "version": "5.0.7.2"
                        },
                        {
                            "status": "affected",
                            "version": "4.2.11.1"
                        }
                    ]
                }
            ],
            "datePublic": "2019-03-13T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "There is a File Content Disclosure vulnerability in Action View <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 where specially crafted accept headers can cause contents of arbitrary files on the target system's filesystem to be exposed."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-22",
                            "description": "Path Traversal (CWE-22)",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2019-10-11T18:33:30",
                "orgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
                "shortName": "hackerone"
            },
            "references": [
                {
                    "name": "46585",
                    "tags": [
                        "exploit",
                        "x_refsource_EXPLOIT-DB"
                    ],
                    "url": "https://www.exploit-db.com/exploits/46585/"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure.html"
                },
                {
                    "name": "[oss-security] 20190322 [CVE-2019-5418] Amendment: Possible Remote Code Execution Exploit in Action View",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2019/03/22/1"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://groups.google.com/forum/#%21topic/rubyonrails-security/pFRKI96Sm8Q"
                },
                {
                    "name": "[debian-lts-announce] 20190331 [SECURITY] [DLA 1739-1] rails security update",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00042.html"
                },
                {
                    "name": "RHSA-2019:0796",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "https://access.redhat.com/errata/RHSA-2019:0796"
                },
                {
                    "name": "openSUSE-SU-2019:1344",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_SUSE"
                    ],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00011.html"
                },
                {
                    "name": "FEDORA-2019-1cfe24db5c",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_FEDORA"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/"
                },
                {
                    "name": "RHSA-2019:1149",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "https://access.redhat.com/errata/RHSA-2019:1149"
                },
                {
                    "name": "RHSA-2019:1147",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "https://access.redhat.com/errata/RHSA-2019:1147"
                },
                {
                    "name": "RHSA-2019:1289",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "https://access.redhat.com/errata/RHSA-2019:1289"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "support@hackerone.com",
                    "ID": "CVE-2019-5418",
                    "STATE": "PUBLIC"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "https://github.com/rails/rails",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_value": "5.2.2.1"
                                                    },
                                                    {
                                                        "version_value": "5.1.6.2"
                                                    },
                                                    {
                                                        "version_value": "5.0.7.2"
                                                    },
                                                    {
                                                        "version_value": "4.2.11.1"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "Rails"
                            }
                        ]
                    }
                },
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "There is a File Content Disclosure vulnerability in Action View <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 where specially crafted accept headers can cause contents of arbitrary files on the target system's filesystem to be exposed."
                        }
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "Path Traversal (CWE-22)"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "46585",
                            "refsource": "EXPLOIT-DB",
                            "url": "https://www.exploit-db.com/exploits/46585/"
                        },
                        {
                            "name": "http://packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure.html",
                            "refsource": "MISC",
                            "url": "http://packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure.html"
                        },
                        {
                            "name": "[oss-security] 20190322 [CVE-2019-5418] Amendment: Possible Remote Code Execution Exploit in Action View",
                            "refsource": "MLIST",
                            "url": "http://www.openwall.com/lists/oss-security/2019/03/22/1"
                        },
                        {
                            "name": "https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/",
                            "refsource": "CONFIRM",
                            "url": "https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/"
                        },
                        {
                            "name": "https://groups.google.com/forum/#!topic/rubyonrails-security/pFRKI96Sm8Q",
                            "refsource": "CONFIRM",
                            "url": "https://groups.google.com/forum/#!topic/rubyonrails-security/pFRKI96Sm8Q"
                        },
                        {
                            "name": "[debian-lts-announce] 20190331 [SECURITY] [DLA 1739-1] rails security update",
                            "refsource": "MLIST",
                            "url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00042.html"
                        },
                        {
                            "name": "RHSA-2019:0796",
                            "refsource": "REDHAT",
                            "url": "https://access.redhat.com/errata/RHSA-2019:0796"
                        },
                        {
                            "name": "openSUSE-SU-2019:1344",
                            "refsource": "SUSE",
                            "url": "http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00011.html"
                        },
                        {
                            "name": "FEDORA-2019-1cfe24db5c",
                            "refsource": "FEDORA",
                            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/"
                        },
                        {
                            "name": "RHSA-2019:1149",
                            "refsource": "REDHAT",
                            "url": "https://access.redhat.com/errata/RHSA-2019:1149"
                        },
                        {
                            "name": "RHSA-2019:1147",
                            "refsource": "REDHAT",
                            "url": "https://access.redhat.com/errata/RHSA-2019:1147"
                        },
                        {
                            "name": "RHSA-2019:1289",
                            "refsource": "REDHAT",
                            "url": "https://access.redhat.com/errata/RHSA-2019:1289"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T19:54:53.606Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "46585",
                        "tags": [
                            "exploit",
                            "x_refsource_EXPLOIT-DB",
                            "x_transferred"
                        ],
                        "url": "https://www.exploit-db.com/exploits/46585/"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure.html"
                    },
                    {
                        "name": "[oss-security] 20190322 [CVE-2019-5418] Amendment: Possible Remote Code Execution Exploit in Action View",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://www.openwall.com/lists/oss-security/2019/03/22/1"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://groups.google.com/forum/#%21topic/rubyonrails-security/pFRKI96Sm8Q"
                    },
                    {
                        "name": "[debian-lts-announce] 20190331 [SECURITY] [DLA 1739-1] rails security update",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00042.html"
                    },
                    {
                        "name": "RHSA-2019:0796",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2019:0796"
                    },
                    {
                        "name": "openSUSE-SU-2019:1344",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_SUSE",
                            "x_transferred"
                        ],
                        "url": "http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00011.html"
                    },
                    {
                        "name": "FEDORA-2019-1cfe24db5c",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_FEDORA",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/"
                    },
                    {
                        "name": "RHSA-2019:1149",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2019:1149"
                    },
                    {
                        "name": "RHSA-2019:1147",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2019:1147"
                    },
                    {
                        "name": "RHSA-2019:1289",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2019:1289"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
        "assignerShortName": "hackerone",
        "cveId": "CVE-2019-5418",
        "datePublished": "2019-03-27T13:38:58",
        "dateReserved": "2019-01-04T00:00:00",
        "dateUpdated": "2024-08-04T19:54:53.606Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}