Skip to content
Noroxi
CVE-2012-4414· NVD / CVE Program· CNA redhat

Multiple SQL injection vulnerabilities in the replication code in Oracle MySQL possibly before 5.5.29, and MariaDB 5.1.x through 5.1.62, 5.2

Multiple SQL injection vulnerabilities in the replication code in Oracle MySQL possibly before 5.5.29, and MariaDB 5.1.x through 5.1.62, 5.2.x through 5.2.12, 5.3.x through 5.3.7, and 5.5.x through 5.5.25, allow remote authenticated users to execute arbitrary SQL commands via vectors related to the binary log. NOTE: as of 20130116, Oracle has not commented on claims from a downstream vendor that the fix in MySQL 5.5.29 is incomplete.

MediumCVSS 6.5 · v2.0—No exploit Fix available
Published
Jan 22, 2013
Updated
Jun 16, 2026
EPSS
3.1% · 87th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

27

Monitor

Low priority for now.

CVSS
26 / 40 · 6.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.1%

Affected systems

VendorProduct
oraclemysql
mariadbmariadb

Using mysql? Add it to your stack and be the first to know about CVEs like this one. (MySQL)

Add to my stack

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • oracle mysqlup to 5.5.28 inclusive
  • oracle mysql5.1.51
  • oracle mysql5.1.52
  • oracle mysql5.1.53
  • oracle mysql5.1.54
  • oracle mysql5.1.55
  • oracle mysql5.1.56
  • oracle mysql5.1.57
  • oracle mysql5.1.58
  • oracle mysql5.1.59
  • oracle mysql5.1.60
  • oracle mysql5.1.61
  • oracle mysql5.1.62
  • oracle mysql5.1.63
  • oracle mysql5.1.64
  • oracle mysql5.1.65
  • oracle mysql5.1.66
  • oracle mysql5.1.67
  • oracle mysql5.5.10
  • oracle mysql5.5.11

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
openSUSE:Tumbleweedmariadbbefore 10.0.22-3.810.0.22-3.8
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSmariadb104before 10.4.30-150100.3.5.1010.4.30-150100.3.5.10
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSpython-mysqlclientbefore 1.4.6-150100.3.3.71.4.6-150100.3.3.7
SUSE:Linux Enterprise Software Development Kit 12 SP5lz4before 1.8.0-3.5.21.8.0-3.5.2
SUSE:Linux Enterprise Software Development Kit 12 SP5mariadb-connector-cbefore 3.1.22-2.35.13.1.22-2.35.1
SUSE:Linux Enterprise Software Development Kit 12 SP5mariadb104before 10.4.30-8.5.4610.4.30-8.5.46
SUSE:Linux Enterprise Software Development Kit 12 SP5python-mysqlclientbefore 1.3.14-8.9.21.3.14-8.9.2

Other highest-scoring records for the same primary product.

  • CVE-2016-6662Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB before 5.5.51, 10.0.x before 10.0.27, and 10.1.x before
    59Plan
  • CVE-2017-3599Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: Pluggable Auth).
    57Plan
  • CVE-2009-4484Multiple stack-based buffer overflows in the CertDecoder::GetName function in src/asn.cpp in TaoCrypt in yaSSL before 1.9.9, as used in mysq
    51Plan
  • CVE-2022-21489Vulnerability in the MySQL Cluster product of Oracle MySQL (component: Cluster: General).
    49Plan
  • CVE-2022-21279Vulnerability in the MySQL Cluster product of Oracle MySQL (component: Cluster: General).
    49Plan
  • CVE-2012-2122sql/password.c in Oracle MySQL 5.1.x before 5.1.63, 5.5.x before 5.5.24, and 5.6.x before 5.6.6, and MariaDB 5.1.x before 5.1.62, 5.2.x befo
    49Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
opensuse:mariadb10.0.22-3.8 · openSUSE:TumbleweedPackage registry (OSV)
suse:lz41.8.0-3.5.2 · SUSE:Linux Enterprise Software Development Kit 12 SP5Package registry (OSV)
suse:mariadb-connector-c3.1.22-2.35.1 · SUSE:Linux Enterprise Software Development Kit 12 SP5Package registry (OSV)
suse:mariadb10410.4.30-150100.3.5.10 · SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSPackage registry (OSV)
suse:python-mysqlclient1.4.6-150100.3.3.7 · SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Technical details

Attack conditions

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
P · data can be read
Integrity
P · data or configuration can be modified
Availability
P · the service can be disrupted
Attack complexity
Low
Confidentiality impact
P
Integrity impact
P
Availability impact
P

CVSS vector

AV:N/AC:L/Au:S/C:P/I:P/A:P

nvd-primary

Root cause

The query text is built by concatenating user input. The database cannot tell where the data ends and the command begins.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const owner = req.query.owner;const rows = await db.query(  "SELECT * FROM files WHERE owner = '" + owner + "'");

Fixed

ts
const owner = req.query.owner;const rows = await db.query(  "SELECT * FROM files WHERE owner = $1",  [owner]);

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records