Vulnerability Details : CVE-2019-15562
GORM before 1.9.10 allows SQL injection via incomplete parentheses. NOTE: Misusing Gorm by passing untrusted user input where Gorm expects trusted SQL fragments is a vulnerability in the application, not in Gorm
Vulnerability category: Sql Injection
Products affected by CVE-2019-15562
- cpe:2.3:a:gorm:gorm:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2019-15562
0.54%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 65 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2019-15562
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2019-15562
-
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-15562
-
https://github.com/go-gorm/gorm/pull/2519
Fix #2517 : Check for incomplete parentheses to prevent SQL injection. by herpiko · Pull Request #2519 · go-gorm/gorm · GitHubThird Party Advisory
-
https://github.com/go-gorm/gorm/issues/2517#issuecomment-638145427
SQL injection in Gorm With using first and find. · Issue #2517 · go-gorm/gorm · GitHubVendor Advisory
-
https://github.com/go-gorm/gorm/pull/2674
Revert check for incomplete parentheses by emirb · Pull Request #2674 · go-gorm/gorm · GitHubVendor Advisory
-
https://github.com/jinzhu/gorm/releases/tag/v1.9.10
Release v1.9.10: Fix #2517 : Check for incomplete parentheses to prevent SQL inj… (#2519) · jinzhu/gorm · GitHubRelease Notes;Third Party Advisory
Jump to