{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "datePublic": "2012-12-21T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x before 3.2.10 allows remote attackers to execute arbitrary SQL commands via a crafted request that leverages incorrect behavior of dynamic finders in applications that can use unexpected data types in certain find_by_ method calls."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "n/a",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2016-12-06T18:57:01",
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=889649"
                },
                {
                    "name": "RHSA-2013:0155",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2013-0155.html"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/"
                },
                {
                    "name": "RHSA-2013:0220",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2013-0220.html"
                },
                {
                    "name": "GLSA-201401-22",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_GENTOO"
                    ],
                    "url": "http://security.gentoo.org/glsa/glsa-201401-22.xml"
                },
                {
                    "name": "RHSA-2013:0154",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2013-0154.html"
                },
                {
                    "name": "[rubyonrails-security] 20130102 SQL Injection Vulnerability in Ruby on Rails (CVE-2012-5664)",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "https://groups.google.com/group/rubyonrails-security/msg/23daa048baf28b64?dmode=source&output=gplain"
                },
                {
                    "name": "57084",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_BID"
                    ],
                    "url": "http://www.securityfocus.com/bid/57084"
                },
                {
                    "name": "RHSA-2013:0544",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2013-0544.html"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "cve@mitre.org",
                    "ID": "CVE-2012-6496",
                    "STATE": "PUBLIC"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "n/a",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_value": "n/a"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "n/a"
                            }
                        ]
                    }
                },
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x before 3.2.10 allows remote attackers to execute arbitrary SQL commands via a crafted request that leverages incorrect behavior of dynamic finders in applications that can use unexpected data types in certain find_by_ method calls."
                        }
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "n/a"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "https://bugzilla.redhat.com/show_bug.cgi?id=889649",
                            "refsource": "CONFIRM",
                            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=889649"
                        },
                        {
                            "name": "RHSA-2013:0155",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2013-0155.html"
                        },
                        {
                            "name": "http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/",
                            "refsource": "MISC",
                            "url": "http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/"
                        },
                        {
                            "name": "RHSA-2013:0220",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2013-0220.html"
                        },
                        {
                            "name": "GLSA-201401-22",
                            "refsource": "GENTOO",
                            "url": "http://security.gentoo.org/glsa/glsa-201401-22.xml"
                        },
                        {
                            "name": "RHSA-2013:0154",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2013-0154.html"
                        },
                        {
                            "name": "[rubyonrails-security] 20130102 SQL Injection Vulnerability in Ruby on Rails (CVE-2012-5664)",
                            "refsource": "MLIST",
                            "url": "https://groups.google.com/group/rubyonrails-security/msg/23daa048baf28b64?dmode=source&output=gplain"
                        },
                        {
                            "name": "57084",
                            "refsource": "BID",
                            "url": "http://www.securityfocus.com/bid/57084"
                        },
                        {
                            "name": "RHSA-2013:0544",
                            "refsource": "REDHAT",
                            "url": "http://rhn.redhat.com/errata/RHSA-2013-0544.html"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-06T21:28:39.807Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=889649"
                    },
                    {
                        "name": "RHSA-2013:0155",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2013-0155.html"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/"
                    },
                    {
                        "name": "RHSA-2013:0220",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2013-0220.html"
                    },
                    {
                        "name": "GLSA-201401-22",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_GENTOO",
                            "x_transferred"
                        ],
                        "url": "http://security.gentoo.org/glsa/glsa-201401-22.xml"
                    },
                    {
                        "name": "RHSA-2013:0154",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2013-0154.html"
                    },
                    {
                        "name": "[rubyonrails-security] 20130102 SQL Injection Vulnerability in Ruby on Rails (CVE-2012-5664)",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "https://groups.google.com/group/rubyonrails-security/msg/23daa048baf28b64?dmode=source&output=gplain"
                    },
                    {
                        "name": "57084",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_BID",
                            "x_transferred"
                        ],
                        "url": "http://www.securityfocus.com/bid/57084"
                    },
                    {
                        "name": "RHSA-2013:0544",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "http://rhn.redhat.com/errata/RHSA-2013-0544.html"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2012-6496",
        "datePublished": "2013-01-04T02:00:00",
        "dateReserved": "2013-01-03T00:00:00",
        "dateUpdated": "2024-08-06T21:28:39.807Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}