Bug 1747324 (CVE-2019-15553)

Summary: CVE-2019-15553 rust-memoffset:offset_of and span_of causing exposure of uninitialized memory
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: igor.raits, rust-sig
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: 2019-08-30 07:07:20 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: 1747325    
Bug Blocks:    

Description Dhananjay Arunesh 2019-08-30 06:50:23 UTC
An issue was discovered in the memoffset crate before 0.5.0 for Rust. offset_of and span_of can cause exposure of uninitialized memory.

Reference:
https://github.com/Gilnaa/memoffset/issues/9#issuecomment-505461490

Comment 1 Dhananjay Arunesh 2019-08-30 06:50:35 UTC
Created rust-memoffset tracking bugs for this issue:

Affects: fedora-29 [bug 1747325]

Comment 2 Dhananjay Arunesh 2019-08-30 06:50:51 UTC
External References:

https://rustsec.org/advisories/RUSTSEC-2019-0011.html

Comment 3 Igor Raits 2019-08-30 07:00:48 UTC
Quite a few modules need rebuild:

sd/sd.yaml
496:        ref: 116746c6f2e3fde2abab7b5872ebda32b858df84 # rust-memoffset-0.2.1-7.fc31

ffsend/ffsend.yaml
1957:        ref: 116746c6f2e3fde2abab7b5872ebda32b858df84 # rust-memoffset-0.2.1-7.fc31

tokei/tokei.yaml
994:        ref: 116746c6f2e3fde2abab7b5872ebda32b858df84 # rust-memoffset-0.2.1-7.fc31

zincati/zincati.yaml
2174:        ref: f84516bdf8700387668c7484d8c76cc07b83e60a # rust-memoffset-0.2.1-8.fc31

askalono-cli/askalono-cli.yaml
752:        ref: 116746c6f2e3fde2abab7b5872ebda32b858df84 # rust-memoffset-0.2.1-7.fc31

zola/zola.yaml
2826:        ref: 116746c6f2e3fde2abab7b5872ebda32b858df84 # rust-memoffset-0.2.1-7.fc31

skim/skim.yaml
630:        ref: 116746c6f2e3fde2abab7b5872ebda32b858df84 # rust-memoffset-0.2.1-7.fc31

heatseeker/heatseeker.yaml
259:        ref: 116746c6f2e3fde2abab7b5872ebda32b858df84 # rust-memoffset-0.2.1-7.fc31

afterburn/afterburn.yaml
1593:        ref: 116746c6f2e3fde2abab7b5872ebda32b858df84 # rust-memoffset-0.2.1-7.fc31

Comment 4 Product Security DevOps Team 2019-08-30 07:07:20 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.