Uncaught Exception Affecting github.com/jackc/pgx/v5/pgconn package, versions >=5.0.0-alpha.5 <5.5.2


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

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-GITHUBCOMJACKCPGXV5PGCONN-7416899
  • published 3 Jul 2024
  • disclosed 2 Jul 2024
  • credit Unknown

Introduced: 2 Jul 2024

CVE NOT AVAILABLE CWE-248 Open this link in a new tab

How to fix?

Upgrade github.com/jackc/pgx/v5/pgconn to version 5.5.2 or higher.

Overview

github.com/jackc/pgx/v5/pgconn is a low-level PostgreSQL database driver

Affected versions of this package are vulnerable to Uncaught Exception that allows creating a pipeline in error with a PgConn that is busy or closed. This allows an attacker who can ascertain that a pipeline is in such a state to trigger a panic by calling the Sync() function on the pipeline.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
8.2 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    None
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None