Bug 2075271 - CVE-2022-24785 cockpit-ostree: Moment.js: Path traversal in moment.locale [fedora-34]
Summary: CVE-2022-24785 cockpit-ostree: Moment.js: Path traversal in moment.locale [f...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: cockpit-ostree
Version: 34
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Martin Pitt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2075312 (view as bug list)
Depends On:
Blocks: CVE-2022-24785
TreeView+ depends on / blocked
 
Reported: 2022-04-13 21:57 UTC by Anten Skrabec
Modified: 2022-04-15 17:42 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-04-15 17:42:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Anten Skrabec 2022-04-13 21:57:00 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-34.

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.

Comment 1 Anten Skrabec 2022-04-13 21:57:02 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=2072009,2075271

# 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 2022-04-15 17:39:06 UTC
*** Bug 2075312 has been marked as a duplicate of this bug. ***

Comment 3 Martin Pitt 2022-04-15 17:42:23 UTC
Cockpit-ostree stopped using moment.js in version 187 (https://github.com/cockpit-project/cockpit-ostree/commit/aa43fde4aadb was the conversion). Earlier versions used moment to format the time stamp, but *forgot* to call moment.locale(), so these versions were buggy wrt. i18n, but never affected by this vulnerability.


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