github.com/uptrace/bun/driver/pgdriver is vulnerable to SQL Injection
65
Medium Risk
Affected versions of the package are vulnerable to SQL injection due to improper handling of negative numbers in the format function. When processing negative values, the vulnerable versions fail to prepend a space before the minus sign. As a result, the minus sign may be interpreted as part of a SQL comment sequence (e.g., --), potentially altering the structure or logic of the underlying SQL query. This flaw enables attackers to inject malicious SQL code, which can lead to unauthorized data access, data manipulation, or other unintended behavior within the database.
You are affected if you are using a version that falls within the vulnerable range.
github.com/uptrace/bun/driver/pgdriver is vulnerable to SQL Injection in versions 0.2.11 - 1.2.14.
Upgrade the github.com/uptrace/bun/driver/pgdriver library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant