SQL Injection Affecting github.com/jinzhu/gorm Open this link in a new tab package, versions <0.2.0
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
Introduced: 21 Jun 2019
CWE-89 Open this link in a new tabHow 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.