#VU26468 Use-after-free in Rust Programming Language and bitvec


Published: 2020-03-31

Vulnerability identifier: #VU26468

Vulnerability risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: N/A

CWE-ID: CWE-416

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Rust Programming Language
Universal components / Libraries / Programming Languages & Components
bitvec
Other software / Other software solutions

Vendor: Rust Team
Alexander Payne

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error when conversion of BitVec to BitBox does not account for allocation movement. A remote attacker can execute arbitrary code on the target system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Rust Programming Language: 1.36.0 - 1.42.0

bitvec: 0.11.1 - 0.17.3


External links
http://rustsec.org/advisories/RUSTSEC-2020-0007.html
http://github.com/myrrlyn/bitvec/issues/55


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability