Bug 2093326 (CVE-2022-30786)

Summary: CVE-2022-30786 ntfs-3g: crafted NTFS image can cause a heap-based buffer overflow in ntfs_names_full_collate
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ddepaula, epel-packagers-sig, jferlan, kparal, ngompa13, rjones, spotrh, virt-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ntfs-3g 2022.5.17 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in NTFS-3G. Incorrect validation of NTFS metadata can result in a heap-based buffer overflow when processing a crafted NTFS image file or partition.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-17 01:12:23 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: 2093327, 2093328, 2093329, 2093330, 2093331, 2127240, 2127241, 2127242, 2127243, 2127244, 2127245, 2127246    
Bug Blocks: 2093356    

Description Guilherme de Almeida Suckevicz 2022-06-03 13:52:12 UTC
A crafted NTFS image can cause a heap-based buffer overflow in ntfs_names_full_collate in NTFS-3G through 2021.8.22.

References:
https://github.com/tuxera/ntfs-3g/security/advisories/GHSA-xchm-ph5h-hw4x
https://github.com/tuxera/ntfs-3g/releases

Comment 1 Guilherme de Almeida Suckevicz 2022-06-03 13:52:39 UTC
Created ntfs-3g tracking bugs for this issue:

Affects: epel-all [bug 2093330]
Affects: fedora-all [bug 2093328]


Created ntfs-3g-system-compression tracking bugs for this issue:

Affects: epel-all [bug 2093327]
Affects: fedora-all [bug 2093331]


Created ntfs2btrfs tracking bugs for this issue:

Affects: fedora-all [bug 2093329]

Comment 3 errata-xmlrpc 2023-05-09 07:15:44 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:2179 https://access.redhat.com/errata/RHSA-2023:2179

Comment 4 errata-xmlrpc 2023-05-16 08:08:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:2757 https://access.redhat.com/errata/RHSA-2023:2757

Comment 5 Product Security DevOps Team 2023-05-17 01:12:20 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-30786