Remote code execution in bitvec and Rust



Published: 2020-03-31
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID N/A
CWE-ID CWE-416
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Rust Programming Language
Universal components / Libraries / Programming Languages & Components

bitvec
Other software / Other software solutions

Vendor Rust Team
Alexander Payne

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Use-after-free

EUVDB-ID: #VU26468

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 - Use After Free

Exploit availability: No

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


CPE2.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.



###SIDEBAR###