{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "None"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2012/cve-2012-5613.json"
      }
    ],
    "title": "mysql: database privilege escalation using FILE privilege",
    "tracking": {
      "current_release_date": "2026-11-06T08:56:09+00:00",
      "generator": {
        "date": "2026-11-06T08:56:09+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.4"
        }
      },
      "id": "CVE-2012-5613",
      "initial_release_date": "2012-12-01T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2012-12-01T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2021-02-17T08:18:37+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-06T08:56:09+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 5",
                "product": {
                  "name": "Red Hat Enterprise Linux 5",
                  "product_id": "red_hat_enterprise_linux_5",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:5"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 5"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 6",
                "product": {
                  "name": "Red Hat Enterprise Linux 6",
                  "product_id": "red_hat_enterprise_linux_6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:6"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 6"
          },
          {
            "category": "product_version",
            "name": "mysql.src",
            "product": {
              "name": "mysql.src",
              "product_id": "mysql.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mysql-test",
            "product": {
              "name": "mysql-test",
              "product_id": "mysql-test",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql-test"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mysql-embedded-devel",
            "product": {
              "name": "mysql-embedded-devel",
              "product_id": "mysql-embedded-devel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql-embedded-devel"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mysql-bench",
            "product": {
              "name": "mysql-bench",
              "product_id": "mysql-bench",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql-bench"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mysql",
            "product": {
              "name": "mysql",
              "product_id": "mysql",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mysql-server",
            "product": {
              "name": "mysql-server",
              "product_id": "mysql-server",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql-server"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mysql-libs",
            "product": {
              "name": "mysql-libs",
              "product_id": "mysql-libs",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql-libs"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mysql-devel",
            "product": {
              "name": "mysql-devel",
              "product_id": "mysql-devel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql-devel"
              }
            }
          },
          {
            "category": "product_version",
            "name": "mysql-embedded",
            "product": {
              "name": "mysql-embedded",
              "product_id": "mysql-embedded",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/mysql-embedded"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql.src as a component of Red Hat Enterprise Linux 5",
          "product_id": "red_hat_enterprise_linux_5:mysql.src"
        },
        "product_reference": "mysql.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql"
        },
        "product_reference": "mysql",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql-bench as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql-bench"
        },
        "product_reference": "mysql-bench",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql-devel as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql-devel"
        },
        "product_reference": "mysql-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql-embedded as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql-embedded"
        },
        "product_reference": "mysql-embedded",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql-embedded-devel as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql-embedded-devel"
        },
        "product_reference": "mysql-embedded-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql-libs as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql-libs"
        },
        "product_reference": "mysql-libs",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql-server as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql-server"
        },
        "product_reference": "mysql-server",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql-test as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql-test"
        },
        "product_reference": "mysql-test",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "mysql.src as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:mysql.src"
        },
        "product_reference": "mysql.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2012-5613",
      "discovery_date": "2012-12-02T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_enterprise_linux_5:mysql.src",
            "red_hat_enterprise_linux_6:mysql",
            "red_hat_enterprise_linux_6:mysql-bench",
            "red_hat_enterprise_linux_6:mysql-devel",
            "red_hat_enterprise_linux_6:mysql-embedded",
            "red_hat_enterprise_linux_6:mysql-embedded-devel",
            "red_hat_enterprise_linux_6:mysql-libs",
            "red_hat_enterprise_linux_6:mysql-server",
            "red_hat_enterprise_linux_6:mysql-test",
            "red_hat_enterprise_linux_6:mysql.src"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "882606"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "MySQL 5.5.19 and possibly other versions, and MariaDB 5.5.28a and possibly other versions, when configured to assign the FILE privilege to users who should not have administrative privileges, allows remote authenticated users to gain privileges by leveraging the FILE privilege to create files as the MySQL administrator. NOTE: the vendor disputes this issue, stating that this is only a vulnerability when the administrator does not follow recommendations in the product's installation documentation. NOTE: it could be argued that this should not be included in CVE because it is a configuration issue.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "mysql: database privilege escalation using FILE privilege",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "Red Hat Product Security determined that this flaw was not a security vulnerability. See the Bugzilla link for more details.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "red_hat_enterprise_linux_5:mysql.src",
          "red_hat_enterprise_linux_6:mysql",
          "red_hat_enterprise_linux_6:mysql-bench",
          "red_hat_enterprise_linux_6:mysql-devel",
          "red_hat_enterprise_linux_6:mysql-embedded",
          "red_hat_enterprise_linux_6:mysql-embedded-devel",
          "red_hat_enterprise_linux_6:mysql-libs",
          "red_hat_enterprise_linux_6:mysql-server",
          "red_hat_enterprise_linux_6:mysql-test",
          "red_hat_enterprise_linux_6:mysql.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2012-5613"
        },
        {
          "category": "external",
          "summary": "RHBZ#882606",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=882606"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2012-5613",
          "url": "https://www.cve.org/CVERecord?id=CVE-2012-5613"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2012-5613",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-5613"
        }
      ],
      "release_date": "2012-12-01T00:00:00+00:00",
      "scores": [
        {
          "cvss_v2": {
            "accessComplexity": "HIGH",
            "accessVector": "NETWORK",
            "authentication": "SINGLE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 4.6,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:H/Au:S/C:P/I:P/A:P",
            "version": "2.0"
          },
          "products": [
            "red_hat_enterprise_linux_5:mysql.src",
            "red_hat_enterprise_linux_6:mysql",
            "red_hat_enterprise_linux_6:mysql-bench",
            "red_hat_enterprise_linux_6:mysql-devel",
            "red_hat_enterprise_linux_6:mysql-embedded",
            "red_hat_enterprise_linux_6:mysql-embedded-devel",
            "red_hat_enterprise_linux_6:mysql-libs",
            "red_hat_enterprise_linux_6:mysql-server",
            "red_hat_enterprise_linux_6:mysql-test",
            "red_hat_enterprise_linux_6:mysql.src"
          ]
        }
      ],
      "title": "mysql: database privilege escalation using FILE privilege"
    }
  ]
}