Bug 2134573

Summary: CVE-2022-29153 moby-engine: consul: Hashicorp Consul HTTP health check endpoints returning an HTTP redirect may be abused as SSRF vector [fedora-all]
Product: [Fedora] Fedora Reporter: Avinash Hanwate <ahanwate>
Component: moby-engineAssignee: Orphan Owner <extras-orphan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 36CC: extras-orphan, go-sig, maxwell, o.lemasle, zebob.m
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---Flags: ahanwate: needinfo-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: moby-engine-20.10.22-1.fc37 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-11 01:20:50 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: 2134570    

Description Avinash Hanwate 2022-10-13 16:28:07 UTC
More information about this security flaw is available in the following bug:

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

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 Avinash Hanwate 2022-10-13 16:28:12 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=2134570,2134573

# 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 3 Maxwell G 2022-10-26 04:34:48 UTC
What does this CVE have to do with moby-engine (Docker)? How can we mitigate it?

Comment 4 Robert-André Mauchin 🐧 2022-10-26 05:56:47 UTC
moby-engine bundles a very old version of consul from 2015 (9a9cc9341bb487651a0399e3fc5e1e8a42e62dd9) which may be affected by the bug.
The joy of bundling...

Comment 5 Robert-André Mauchin 🐧 2022-10-26 06:01:27 UTC
the commit fixing it is https://github.com/hashicorp/consul/pull/12685/commits/3b44343276d095618f18eb6edf6a61feb6dffaa1
not sure if it's backportable easily

Comment 6 Fedora Update System 2022-12-20 17:17:55 UTC
FEDORA-2022-7e327a20be has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-7e327a20be

Comment 7 Fedora Update System 2022-12-20 17:25:56 UTC
FEDORA-2022-db674bafd9 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-db674bafd9

Comment 8 Fedora Update System 2022-12-21 02:25:58 UTC
FEDORA-2022-db674bafd9 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-db674bafd9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-db674bafd9

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

Comment 9 Fedora Update System 2022-12-21 02:35:55 UTC
FEDORA-2022-7e327a20be has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-7e327a20be`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-7e327a20be

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

Comment 10 Fedora Update System 2022-12-26 01:05:41 UTC
FEDORA-2022-7e327a20be has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2022-12-29 01:15:27 UTC
FEDORA-2022-db674bafd9 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2023-01-02 11:27:47 UTC
FEDORA-2023-fde38dda12 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-fde38dda12

Comment 13 Fedora Update System 2023-01-03 01:09:03 UTC
FEDORA-2023-fde38dda12 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-fde38dda12`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-fde38dda12

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

Comment 14 Fedora Update System 2023-01-11 01:20:50 UTC
FEDORA-2023-fde38dda12 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.