Bug 2255043

Summary: CVE-2023-48795 python-asyncssh: ssh: Prefix truncation attack on Binary Packet Protocol (BPP) [epel-9]
Product: [Fedora] Fedora EPEL Reporter: Sandipan Roy <saroy>
Component: python-asyncsshAssignee: Ken Dreyer (Red Hat) <kdreyer>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: epel9CC: fedora, kdreyer, ktdreyer
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-asyncssh-2.13.2-5.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-20 00:34:54 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: 2254210    

Description Sandipan Roy 2023-12-18 17:36:20 UTC
More information about this security flaw is available in the following bug:

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

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 Sandipan Roy 2023-12-18 17:36:22 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=2254210,2255043

# 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 Georg Sauthoff 2023-12-21 12:33:30 UTC
Like in Fedora <= 38, a simple fix by update for this issue is blocked by upstream's python cryptography version requirements.

See also https://bugzilla.redhat.com/show_bug.cgi?id=2250331#c3 for details.

Comment 3 Ken Dreyer (Red Hat) 2024-02-19 21:44:48 UTC
The upstream fix is here: https://github.com/ronf/asyncssh/commit/0bc73254f41acb140187e0c89606311f88de5b7b

It cherry-picks cleanly for epel9: https://src.fedoraproject.org/rpms/python-asyncssh/pull-request/7

Comment 4 Ken Dreyer (Red Hat) 2024-02-22 15:25:36 UTC
I've built that PR 7 here for early testing: https://copr.fedorainfracloud.org/coprs/ktdreyer/asyncssh/

Comment 5 Ken Dreyer (Red Hat) 2024-03-11 20:38:42 UTC
I'm updating this bug to only track the EPEL 9 fix. EPEL 8 will remain unfixed.

Comment 6 Fedora Update System 2024-03-11 20:57:29 UTC
FEDORA-EPEL-2024-6bc0ac05e1 (python-asyncssh-2.13.2-5.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-6bc0ac05e1

Comment 7 Fedora Update System 2024-03-12 00:24:15 UTC
FEDORA-EPEL-2024-6bc0ac05e1 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-6bc0ac05e1

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

Comment 8 Fedora Update System 2024-03-20 00:34:54 UTC
FEDORA-EPEL-2024-6bc0ac05e1 (python-asyncssh-2.13.2-5.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.