Bug 2271815 - CVE-2024-2947 cockpit: command injection when deleting a sosreport with a crafted name [fedora-all]
Summary: CVE-2024-2947 cockpit: command injection when deleting a sosreport with a cra...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cockpit
Version: 39
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Martin Pitt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CVE-2024-2947
TreeView+ depends on / blocked
 
Reported: 2024-03-27 12:54 UTC by Guilherme de Almeida Suckevicz
Modified: 2024-04-18 01:14 UTC (History)
5 users (show)

Fixed In Version: cockpit-314-1.fc39 cockpit-314-1.fc40 cockpit-311.2-1.fc38
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-03-30 01:09:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github cockpit-project cockpit pull 20232 0 None open sosreport: Fix command injection with crafted report names [CVE-2024-2947] 2024-03-27 14:01:15 UTC

Description Guilherme de Almeida Suckevicz 2024-03-27 12:54:36 UTC
More information about this security flaw is available in the following bug:

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

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 Guilherme de Almeida Suckevicz 2024-03-27 12:54:39 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=2271614,2271815

# 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 Martin Pitt 2024-03-27 14:01:16 UTC
Upstream fix: https://github.com/cockpit-project/cockpit/pull/20232

Comment 3 Fedora Update System 2024-03-29 19:14:44 UTC
FEDORA-2024-6065341780 (cockpit-314-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-6065341780

Comment 4 Fedora Update System 2024-03-29 19:15:24 UTC
FEDORA-2024-4e95f130fc (cockpit-314-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-4e95f130fc

Comment 5 Fedora Update System 2024-03-30 01:09:37 UTC
FEDORA-2024-6065341780 (cockpit-314-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2024-03-31 00:18:01 UTC
FEDORA-2024-4e95f130fc (cockpit-314-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2024-04-02 07:52:10 UTC
FEDORA-2024-31e83b461d (cockpit-311.2-1.fc38) has been submitted as an update to Fedora 38.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-31e83b461d

Comment 8 Fedora Update System 2024-04-03 02:13:36 UTC
FEDORA-2024-31e83b461d has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-31e83b461d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-31e83b461d

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

Comment 9 Fedora Update System 2024-04-18 01:14:25 UTC
FEDORA-2024-31e83b461d (cockpit-311.2-1.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.