SQL Injection Affecting github.com/jinzhu/gorm package, versions <0.2.0
Snyk CVSS
Attack Complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMJINZHUGORM-543633
- published 29 Jan 2020
- disclosed 21 Jun 2019
- credit Rahmat Wahyu Hadi
How to fix?
Upgrade github.com/jinzhu/gorm
to version 0.2.0 or higher.
Overview
github.com/jinzhu/gorm is an ORM library for Golang. Note - this library has been moved to https://github.com/go-gorm/gorm
Affected versions of this package are vulnerable to SQL Injection in First
and Find
arguments.