GORM through 1.31.2 SQL Injection via Migrator.CreateView on MySQL and MariaDB
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| go-gorm | GORM | unaffected |
|
No data.
No data.
No data available yet.
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | GORM through 1.31.2 contains an sql injection vulnerability in Migrator.CreateView that allows attackers to inject SQL by supplying bound subquery values containing backslashes. Because logger.ExplainSQL inlines values without escaping backslashes, a backslash-quote sequence terminates the literal early, letting attackers alter view definitions to expose columns like password hashes. | |
| Title | GORM through 1.31.2 SQL Injection via Migrator.CreateView on MySQL and MariaDB | |
| First Time appeared |
Gorm
Gorm gorm |
|
| Weaknesses | CWE-89 | |
| CPEs | cpe:2.3:a:gorm:gorm:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Gorm
Gorm gorm |
|
| References |
| |
| Metrics |
cvssV3_1
|
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')