MikroORM: SQL injection via runtime-controlled identifiers and JSON-path keys
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mikro-orm | mikro-orm | affected |
|
|||||||||
| @mikro-orm | knex | affected |
|
|||||||||
| @mikro-orm | sql | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Mikro-orm | Knex |
|
||||||||||||
| Mikro-orm | Mikro-orm |
|
||||||||||||
| Mikro-orm | Sql |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-cfw5-68c4-ffqp | MikroORM has SQL injection via runtime-controlled identifiers and JSON-path keys |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.5% (1.450% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Mikro-orm
Mikro-orm knex Mikro-orm mikro-orm Mikro-orm sql |
|
| Vendors & Products |
Mikro-orm
Mikro-orm knex Mikro-orm mikro-orm Mikro-orm sql |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | MikroORM is a TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Prior to @mikro-orm/knex 6.6.14 and @mikro-orm/sql 7.0.14, MikroORM's identifier-quoting helper (Platform.quoteIdentifier and the postgres/mssql overrides) and its JSON-path emitters (Platform.getSearchJsonPropertyKey, quoteJsonKey) did not properly escape characters that delimit the SQL identifier or string-literal context they emit into. When application code passes attacker-influenced strings to public ORM APIs that expect an identifier or a JSON-property filter, an attacker can break out of the quoted context and inject arbitrary SQL. This vulnerability is fixed in @mikro-orm/knex 6.6.14 and @mikro-orm/sql 7.0.14. | |
| Title | MikroORM: SQL injection via runtime-controlled identifiers and JSON-path keys | |
| Weaknesses | CWE-89 | |
| References |
| |
| Metrics |
cvssV3_1
|