CVE-2019-15562
Gorm vulnerability
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
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Gorm. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gorm runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/go-gorm/gorm/issues/2517#issuecomment-638145427 · Vendor Advisory
- github.com/go-gorm/gorm/pull/2674 · Vendor Advisory
- github.com/go-gorm/gorm/pull/2519 · Third Party Advisory
- github.com/jinzhu/gorm/releases/tag/v1.9.10 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2019-15562
- cve.org/CVERecord?id=CVE-2019-15562
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.