Bug 2273517

Summary: TRIAGE CVE-2024-22189 caddy: quic-go: memory exhaustion attack against QUIC's connection ID mechanism [fedora-39]
Product: [Fedora] Fedora Reporter: Robb Gatica <rgatica>
Component: caddyAssignee: Carl George 🤠 <carl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: carl, go-sig, ngompa13
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: caddy-2.8.4-1.fc41 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-06 00:30:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2273513    

Description Robb Gatica 2024-04-04 19:41:48 UTC
More information about this security flaw is available in the following bug:

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

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 Robb Gatica 2024-04-04 19:41:50 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=2273513,2273517

# 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:51:22 UTC
The current caddy version is caddy-2.7.6-2.fc40.  It includes the following relevant bundled provides:

    bundled(golang(github.com/quic-go/quic-go)) = 0.40.0

The CVE is fixed in quic-go 0.42.0.

https://github.com/quic-go/quic-go/security/advisories/GHSA-c33x-xqrf-c478

Caddy upstream included this dependency with this commit.

https://github.com/caddyserver/caddy/commit/32f7dd44aea270fa6c50bbf80acf5b831fc6ffcd

Comment 3 Fedora Update System 2024-07-06 00:23:46 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:30:13 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.