Bug 2170648 - CVE-2022-38900 pcs: decode-uri-component: improper input validation resulting in DoS [fedora-all]
Summary: CVE-2022-38900 pcs: decode-uri-component: improper input validation resulting...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pcs
Version: 37
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Michal Pospisil
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CVE-2022-38900
TreeView+ depends on / blocked
 
Reported: 2023-02-16 21:35 UTC by Anten Skrabec
Modified: 2023-07-01 01:45 UTC (History)
7 users (show)

Fixed In Version: pcs-0.11.6-1.fc39 pcs-0.11.6-1.fc37 pcs-0.11.6-1.fc38
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-22 13:33:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Anten Skrabec 2023-02-16 21:35:26 UTC
More information about this security flaw is available in the following bug:

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

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 Anten Skrabec 2023-02-16 21:35:28 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=2170644,2170648

# 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 Ivan Devat 2023-02-22 07:34:45 UTC
In pcs-web-ui, the package decode-uri-component is used by a package query-string which is used inside the application itself. However, it consumes only uris that are produced by application itself (i.e. it is not used for any external uris), so the vulnerability is not here. Even so, after investigating the use of this library in the pcs-web-ui, it will be better to eliminate the library in the future.

Comment 4 Fedora Update System 2023-06-22 12:59:50 UTC
FEDORA-2023-e4cb7a5bda has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e4cb7a5bda

Comment 5 Fedora Update System 2023-06-22 13:33:08 UTC
FEDORA-2023-e4cb7a5bda 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 2023-06-22 14:07:02 UTC
FEDORA-2023-b86fd9ad80 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b86fd9ad80

Comment 7 Fedora Update System 2023-06-22 14:09:28 UTC
FEDORA-2023-ae96dd6105 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-ae96dd6105

Comment 8 Fedora Update System 2023-06-23 01:51:23 UTC
FEDORA-2023-b86fd9ad80 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-2023-b86fd9ad80`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-b86fd9ad80

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

Comment 9 Fedora Update System 2023-06-23 01:51:49 UTC
FEDORA-2023-ae96dd6105 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-ae96dd6105`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-ae96dd6105

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

Comment 10 Fedora Update System 2023-07-01 00:37:25 UTC
FEDORA-2023-ae96dd6105 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 2023-07-01 01:45:02 UTC
FEDORA-2023-b86fd9ad80 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.