SQL Injection Affecting gorm.io/gorm package, versions <0.2.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined

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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GORMIOGORM-1083934
  • published29 Jan 2020
  • disclosed21 Jun 2019
  • creditRahmat Wahyu Hadi

Introduced: 21 Jun 2019

CVE NOT AVAILABLE CWE-89  (opens in a new tab)

How to fix?

Upgrade gorm.io/gorm to version 0.2.0 or higher.

Overview

gorm.io/gorm is an ORM library for Golang.

Affected versions of this package are vulnerable to SQL Injection in First and Find arguments.

CVSS Scores

version 3.1