Bug 2184112

Summary: libsepol: Use after free in libsepol/cil/src/cil_reset_ast.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acrosby, aprice, caswilli, dfreiber, dhalasz, dnakabaa, drow, fjansen, jburrell, jdobes, jmitchel, joehler, jsamir, jtanner, jvasik, kaycoth, kshier, lcouzens, lvrabec, micjohns, mmalik, mskarbek, oezr, orabin, pbohmill, plautrba, psegedy, rblanco, sthirugn, teagle, tkasparek, tsasak, vkrizan, vkumar, vmojzis, vmugicag
Target Milestone: ---Keywords: Security
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-04-18 15:02:07 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: 2184114    

Description Pedro Sampaio 2023-04-03 16:45:45 UTC
SELinux Project SELinux Userspace is vulnerable to a denial of service, caused by a toHeap-use-after-free flaw in the cil_reset_classperms_set
function in libsepol/cil/src/cil_reset_ast.c. By sending a specially-crafted request, a local attacker could exploit this vulnerability to cause a denial of service condition or obtain sensitive information.

References:

https://github.com/SELinuxProject/selinux/commit/c49a8ea09501ad66e799ea41b8154b6770fec2c8

Comment 3 Guilherme de Almeida Suckevicz 2023-04-18 15:02:07 UTC

*** This bug has been marked as a duplicate of bug 1979666 ***