{
    "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "DATE_PUBLIC": "2018-03-01T00:00:00",
        "ID": "CVE-2018-1058",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "postgresql",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "9.3 - 10"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "The PostgreSQL Global Development Group"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users. An attacker with a user account could use this flaw to execute code with the permissions of superuser in the database. Versions 9.3 through 10 are affected."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-20"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1547044",
                "refsource": "CONFIRM",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1547044"
            },
            {
                "name": "USN-3589-1",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3589-1/"
            },
            {
                "name": "103221",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/103221"
            },
            {
                "name": "https://www.postgresql.org/about/news/1834/",
                "refsource": "CONFIRM",
                "url": "https://www.postgresql.org/about/news/1834/"
            },
            {
                "name": "RHSA-2018:2511",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:2511"
            },
            {
                "name": "RHSA-2018:2566",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:2566"
            },
            {
                "name": "RHSA-2018:3816",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:3816"
            }
        ]
    }
}