Bug 1955768 (CVE-2021-30218)

Summary: CVE-2021-30218 samurai: NULL pointer dereference in writefile() in util.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: igor.raits
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: 2021-04-30 22:46:47 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: 1955770    
Bug Blocks:    

Description Pedro Sampaio 2021-04-30 18:22:39 UTC
samurai 1.2 has a NULL pointer dereference in writefile() in util.c via a crafted build file.

https://github.com/michaelforney/samurai/commit/e84b6d99c85043fa1ba54851ee500540ec206918
https://github.com/michaelforney/samurai/issues/67

Comment 1 Pedro Sampaio 2021-04-30 18:23:07 UTC
Created samurai tracking bugs for this issue:

Affects: fedora-all [bug 1955770]

Comment 2 Product Security DevOps Team 2021-04-30 22:46:47 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.