Bug 2231282

Summary: CVE-2023-38325 cura: python-cryptography: SSH certificate encoding/parsing incompatibility with OpenSSH [fedora-all]
Product: [Fedora] Fedora Reporter: Vipul Nair <vinair>
Component: curaAssignee: Miro Hrončok <mhroncok>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 38CC: bernhard.furtmueller, g, mhroncok, python-packagers-sig
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---Flags: vinair: needinfo-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-22 13:03:30 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: 2231271    

Description Vipul Nair 2023-08-11 08:10:10 UTC
More information about this security flaw is available in the following bug:

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

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 Vipul Nair 2023-08-11 08:10:13 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=2231271,2231282

# 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 Miro Hrončok 2023-08-17 13:44:34 UTC
*** Bug 2231300 has been marked as a duplicate of this bug. ***

Comment 3 Miro Hrončok 2023-08-17 13:45:46 UTC
Why was this reported for cura?

Comment 4 Miro Hrončok 2023-08-22 09:35:59 UTC
Why was this reported for cura?

Comment 5 Vipul Nair 2023-08-22 11:14:33 UTC
we use griffon and depcli in order to fill affects,both tools show cura as affected.

Comment 6 Miro Hrončok 2023-08-22 11:24:15 UTC
I have never heard of griffon or depcli. Could you please tell me, how exactly is cura affected by a CVE in python-cryptography?

Comment 7 Vipul Nair 2023-08-22 11:43:24 UTC
griffon and depcli along with component registry are tools we use to fill trackers,of course we do not know every dependency and their dependancy in every product redhat ships.Here is the command i supplied depcli -v cryptography -e pypi 

component registry tells us 

fedora-37	cura	(cryptography.8, pypi)

hence the tracker.

Comment 8 Miro Hrončok 2023-08-22 13:03:30 UTC
I've scanned cura source in Fedora 37 for the affected code from https://github.com/pyca/cryptography/pull/9208/files and found nothing.

In fact, I don't think there are any bits of python-cryptography in cura other than:


requirements.txt
cryptography==3.4.8


Which does not affect the Fedora RPM package in any way.