Bug 1709709 (CVE-2019-12083) - CVE-2019-12083 rust: overriden stabilized method `Error::type_id` can violate Rust's safety guarantees leading to out-of-bounds write or read
Summary: CVE-2019-12083 rust: overriden stabilized method `Error::type_id` can violate...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2019-12083
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1709710 1709711 1709712
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-14 07:48 UTC by Marian Rehak
Modified: 2021-02-16 21:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:55:29 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2019-05-14 07:48:42 UTC
The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, can violate Rust's safety guarantees and cause memory unsafety. If the `Error::type_id` method is overridden then any type can be safely cast to any other type, causing memory safety vulnerabilities in safe code (e.g., out-of-bounds write or read). Code that does not manually implement Error::type_id is unaffected.
External References:

https://blog.rust-lang.org/2019/05/13/Security-advisory.html

Comment 1 Marian Rehak 2019-05-14 07:48:58 UTC
Created rust tracking bugs for this issue:

Affects: epel-7 [bug 1709712]
Affects: fedora-29 [bug 1709710]
Affects: fedora-30 [bug 1709711]

Comment 2 Product Security DevOps Team 2019-06-10 10:55:29 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.


Note You need to log in before you can comment on or make changes to this bug.