Bug 2226939

Summary: CVE-2022-28923 caddy: an open redirection vulnerability which allows attackers to redirect users to phishing websites via crafted URLs [epel-9]
Product: [Fedora] Fedora EPEL Reporter: Carl George 🤠 <carl>
Component: caddyAssignee: Carl George 🤠 <carl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: epel9CC: carl, extras-qa, go-sig, ngompa13, saroy
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: caddy-2.6.4-1.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 2167572 Environment:
Last Closed: 2023-09-02 00:36:20 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: 2167571    

Description Carl George 🤠 2023-07-27 05:04:15 UTC
+++ This bug was initially created as a clone of Bug #2167572 +++


More information about this security flaw is available in the following bug:

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

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.

--- Additional comment from Sandipan Roy on 2023-02-07 04:39:43 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=2167571,2167572

# 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 1 Carl George 🤠 2023-07-27 05:05:17 UTC
https://lednerb.de/en/publications/responsible-disclosure/caddy-open-redirect-vulnerability/

> All versions v2.x up to v2.5.0-rc.1 were tested and it was confirmed that only version v2.4.6 is affected by the listed attack vector.

EPEL 9 has version 2.4.6 and is affected.

Comment 2 Carl George 🤠 2023-08-17 23:48:57 UTC
I'm planning to address this by updating the package to version 2.6.4 via the EPEL Incompatible Upgrade process.

https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org/thread/CDNDAKTIAQTFTNDHOIHKQJ4B2LAV5ZSS/

Comment 3 Fedora Update System 2023-08-24 06:10:51 UTC
FEDORA-EPEL-2023-8849a14e7f has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-8849a14e7f

Comment 4 Fedora Update System 2023-08-25 01:02:05 UTC
FEDORA-EPEL-2023-8849a14e7f has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-8849a14e7f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-09-02 00:36:20 UTC
FEDORA-EPEL-2023-8849a14e7f has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.