Bug 2147341 - CVE-2022-41940 pgadmin4: engine.io: Specially crafted HTTP request can trigger an uncaught exception [fedora-37]
Summary: CVE-2022-41940 pgadmin4: engine.io: Specially crafted HTTP request can trigge...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pgadmin4
Version: 37
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Sandro Mani
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: CVE-2022-41940
TreeView+ depends on / blocked
 
Reported: 2022-11-23 18:21 UTC by Anten Skrabec
Modified: 2023-03-07 08:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-07 08:38:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Anten Skrabec 2022-11-23 18:21:31 UTC
More information about this security flaw is available in the following bug:

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

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 2022-11-23 18:21:32 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=2144970,2147341

# 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 Ben Beasley 2023-02-28 21:22:50 UTC
The python-engineio package ships Python-language server and client implementations of the Engine.IO protocol. It does *not* ship the NodeJS implementation referenced by CVE-2022-41940, nor does it install any JavaScript browser or library code. (There is a trivial JavaScript example in the documentation subpackage, but this is explicitly packaged without any dependencies, including the JavaScript implementation of Engine.IO.)

Please evaluate whether or not an affected copy of the JavaScript Engine.IO implementation is vendored in pgadmin4—if present, it might be in the pgadmin-${VERSION}-vendor.tar.gz source—and resolve or close this bug accordingly.

Comment 3 Sandro Mani 2023-03-07 08:38:25 UTC
pgamdin4-6.19 and -6.20 use engine.io@~6.2.1, so should not be affected by this flaw.


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