GHSA-fqpg-rq76-99pq Panic in Pipeline when PgConn is busy or closed in github.com/jackc/pgx
A panic in the pgx library's Pipeline feature when the connection is busy or closed can cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-fqpg-rq76-99pq?
GHSA-fqpg-rq76-99pq is a denial of service vulnerability in github.com/jackc/pgx/v5, published on 2 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Which versions are affected by GHSA-fqpg-rq76-99pq?
3 open source packages ship an affected version, including github.com/jackc/pgx/v5.
| Package | Affected | Fixed in |
|---|---|---|
github.com/jackc/pgx/v5 Go | All versions | 5.5.2 |
github.com/jackc/pgx/v5 Go | All versions | 5.5.2 |
github.com/jackc/pgx/v5 Go | From 5.0.0-alpha.5 | 5.5.2 |
How do I fix GHSA-fqpg-rq76-99pq?
Upgrade github.com/jackc/pgx/v5 to 5.5.2 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is GHSA-fqpg-rq76-99pq being exploited?
There is no known exploitation of GHSA-fqpg-rq76-99pq in the wild and no public exploit code.
Sources
Also known as GO-2024-2567.