Bug 1851427

Summary: CVE-2020-8177 mingw-curl: curl: command line arguments lead to local file overwrite [fedora-all]
Product: [Fedora] Fedora Reporter: Stefan Cornelius <scorneli>
Component: mingw-curlAssignee: Michael Cronenworth <mike>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 32CC: erik-fedora, mike, mjg
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mingw-curl-7.71.1-1.fc32 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-05 01:18:47 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: 1847915    

Description Stefan Cornelius 2020-06-26 13:48:21 UTC
This is an automatically created tracking bug!  It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.

For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.

For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs

When submitting as an update, use the fedpkg template provided in the next
comment(s).  This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.

Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.

NOTE: this issue affects multiple supported versions of Fedora. While only
one tracking bug has been filed, please correct all affected versions at
the same time.  If you need to fix the versions independent of each other,
you may clone this bug as appropriate.

Comment 1 Stefan Cornelius 2020-06-26 13:48:23 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=1847915,1851427

# 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 Michael J Gruber 2020-07-22 18:51:33 UTC
PR opened over at https://src.fedoraproject.org/rpms/mingw-curl/pull-request/3

Comment 3 Michael Cronenworth 2020-07-22 19:59:12 UTC
I would rather update mingw-curl to the latest upstream release. Feel free to do so yourself.

Comment 4 Michael J Gruber 2020-07-22 20:05:31 UTC
I'll leave rebase decisions to the mingw-curl maintainers. I just wanted to help resolve this issue by porting over the curl fixes, but I really have no stakes in mingw nor curl.

Comment 5 Michael Cronenworth 2020-07-22 20:06:59 UTC
*wave* I'm the maintainer. :)

MinGW updates are low on my priority list these days. Co-maintainers welcome.

Comment 6 Fedora Update System 2020-07-25 03:07:07 UTC
FEDORA-2020-ad05132742 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ad05132742

Comment 7 Fedora Update System 2020-07-28 15:15:30 UTC
FEDORA-2020-ad05132742 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ad05132742`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ad05132742

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

Comment 8 Fedora Update System 2020-08-05 01:18:47 UTC
FEDORA-2020-ad05132742 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.