Bug 2182877 (CVE-2022-43634)

Summary: CVE-2022-43634 netatalk: buffer overflow in dsi_writeinit().
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-30 00:52:58 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: 2182878, 2182879    
Bug Blocks:    

Description Pedro Sampaio 2023-03-29 21:04:13 UTC
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Netatalk. Authentication is not required to exploit this vulnerability. The specific flaw exists within the dsi_writeinit function. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-17646.

https://github.com/Netatalk/Netatalk/pull/186
https://www.zerodayinitiative.com/advisories/ZDI-23-094/

Comment 1 Pedro Sampaio 2023-03-29 21:04:31 UTC
Created netatalk tracking bugs for this issue:

Affects: epel-all [bug 2182879]
Affects: fedora-all [bug 2182878]

Comment 2 Product Security DevOps Team 2023-03-30 00:52:56 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.