{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2014-8682",
        "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": "Multiple SQL injection vulnerabilities in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.6.1105 Beta allow remote attackers to execute arbitrary SQL commands via the q parameter to (1) api/v1/repos/search, which is not properly handled in models/repo.go, or (2) api/v1/users/search, which is not properly handled in models/user.go."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "35238",
                "refsource": "EXPLOIT-DB",
                "url": "http://www.exploit-db.com/exploits/35238"
            },
            {
                "name": "gogs-cve20148682-sql-injection(98694)",
                "refsource": "XF",
                "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/98694"
            },
            {
                "name": "http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html",
                "refsource": "MISC",
                "url": "http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html"
            },
            {
                "name": "20141114 CVE-2014-8682 Multiple Unauthenticated SQL Injections in Gogs",
                "refsource": "FULLDISC",
                "url": "http://seclists.org/fulldisclosure/2014/Nov/33"
            },
            {
                "name": "http://gogs.io/docs/intro/change_log.html",
                "refsource": "CONFIRM",
                "url": "http://gogs.io/docs/intro/change_log.html"
            },
            {
                "name": "20141114 CVE-2014-8682 Multiple Unauthenticated SQL Injections in Gogs",
                "refsource": "BUGTRAQ",
                "url": "http://www.securityfocus.com/archive/1/533995/100/0/threaded"
            },
            {
                "name": "71187",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/71187"
            },
            {
                "name": "https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d",
                "refsource": "CONFIRM",
                "url": "https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d"
            }
        ]
    }
}