Bug 2268278 - TRIAGE CVE-2024-27304 caddy: pgx: SQL Injection via Protocol Message Size Overflow [fedora-all]
Summary: TRIAGE CVE-2024-27304 caddy: pgx: SQL Injection via Protocol Message Size Ove...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: caddy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Carl George 🤠
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CVE-2024-27304
TreeView+ depends on / blocked
 
Reported: 2024-03-06 21:35 UTC by Pedro Sampaio
Modified: 2024-07-06 00:29 UTC (History)
3 users (show)

Fixed In Version: caddy-2.8.4-1.fc41
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-07-06 00:29:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2024-03-06 21:35:57 UTC
More information about this security flaw is available in the following bug:

http://bugzilla.redhat.com/show_bug.cgi?id=2268269

Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Comment 1 Pedro Sampaio 2024-03-06 21:36:00 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.

=====

# bugfix, security, enhancement, newpackage (required)
type=security

# low, medium, high, urgent (required)
severity=medium

# testing, stable
request=testing

# Bug numbers: 1234,9876
bugs=2268269,2268278

# Description of your update
notes=Security fix for [PUT CVEs HERE]

# Enable request automation based on the stable/unstable karma thresholds
autokarma=True
stable_karma=3
unstable_karma=-3

# Automatically close bugs when this marked as stable
close_bugs=True

# Suggest that users restart after update
suggest_reboot=False

======

Additionally, you may opt to use the bodhi web interface to submit updates:

https://bodhi.fedoraproject.org/updates/new

Comment 2 Carl George 🤠 2024-07-05 23:42:20 UTC
The current caddy version is caddy-2.7.6-2.fc40.  It includes the following relevant bundled provides:

    bundled(golang(github.com/jackc/pgproto3/v2)) = 2.3.2
    bundled(golang(github.com/jackc/pgx/v4)) = 4.18.0

The CVE is fixed in pgproto3 2.3.3 and pgx 4.18.2.

https://github.com/jackc/pgproto3/security/advisories/GHSA-7jwh-3vrq-q3m8
https://github.com/jackc/pgx/security/advisories/GHSA-mrww-27vc-gghv

Caddy upstream included these dependencies with these commits.

https://github.com/caddyserver/caddy/commit/5b5f8feaf73b3cd0044fa08803ce65cd5cf2e2fb
https://github.com/caddyserver/caddy/commit/5b5f8feaf73b3cd0044fa08803ce65cd5cf2e2fb

Comment 3 Fedora Update System 2024-07-06 00:23:36 UTC
FEDORA-2024-bd8fe42929 (caddy-2.8.4-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-bd8fe42929

Comment 4 Fedora Update System 2024-07-06 00:29:33 UTC
FEDORA-2024-bd8fe42929 (caddy-2.8.4-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.