Bug 2163539
Summary: | CVE-2022-3064 caddy: go-yaml: Improve heuristics preventing CPU/memory abuse by parsing malicious or large YAML documents [epel-7] | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Anten Skrabec <askrabec> |
Component: | caddy | Assignee: | Carl George 🤠<carl> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | epel7 | CC: | carl, go-sig, ngompa13 |
Target Milestone: | --- | Keywords: | Security, SecurityTracking |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | caddy-1.0.5-1.el7 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-08-03 00:32:52 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: | 2163037 |
Description
Anten Skrabec
2023-01-23 21:44:13 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=high # testing, stable request=testing # Bug numbers: 1234,9876 bugs=2163037,2163539 # 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 The parent bug and upstream report indicate that the vulnerability exists prior to version 2.2.4. epel9 has caddy 2.4.6, which vendors yaml 2.4.0, so it's not affected. https://github.com/caddyserver/caddy/blob/v2.4.6/go.mod#L34 epel8 doesn't have caddy, so it's not affected. epel7 has caddy 1.0.3, which vendors yaml 2.2.2, so it is affected. https://github.com/caddyserver/caddy/blob/v1.0.3/go.mod#L24 FEDORA-EPEL-2023-284c34a6cc has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-284c34a6cc FEDORA-EPEL-2023-284c34a6cc has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-284c34a6cc See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2023-284c34a6cc has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report. For posterity, this update ended up being broken and nobody (myself included) caught it while it was in the testing repo. It's no longer possible to build caddy v1 with the golang that is in EPEL 7. The choice was between an incompatible update to caddy v2 (major breaking changes with a new config file format) or retiring the package. With only 10 months left until EPEL 7 is retired, I decided to go with the latter. See this email for more details. https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org/thread/JZRLEWOCX5QX3XZ7INLUZIB7LPAMDUZC/ |