VDB
Sign up
MEDIUM6.5

GHSA-h4h6-vccr-44h2

uptrace pgdriver SQL injection vulnerability

Quick fix

GHSA-h4h6-vccr-44h2 — github.com/uptrace/bun/driver/pgdriver: upgrade to the fixed version with the command below.

go get github.com/uptrace/bun/driver/pgdriver@v1.2.15

Details

uptrace pgdriver v1.2.1 was discovered to contain a SQL injection vulnerability via the appendArg function in `/pgdriver/format.go`. The maintainer has stated that the issue is fixed in v1.2.15.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/uptrace/bun/driver/pgdriver
Introduced in: 0Fixed in: 1.2.15
Fixgo get github.com/uptrace/bun/driver/pgdriver@v1.2.15

References