Rust 'std::collections::vec_deque::VecDeque::reserve()' Function Local Buffer Overflow Vulnerability
BID:105188
CVE-2018-1000657 |Info
Rust 'std::collections::vec_deque::VecDeque::reserve()' Function Local Buffer Overflow Vulnerability
| Bugtraq ID: | 105188 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2018-1000657 |
| Remote: | No |
| Local: | Yes |
| Published: | Aug 24 2018 12:00AM |
| Updated: | Aug 24 2018 12:00AM |
| Credit: | Jesse Jones |
| Vulnerable: |
Rust-lang Rust 1.21 Rust-lang Rust 1.20 Rust-lang Rust 1.19 Rust-lang Rust 1.18 Rust-lang Rust 1.17 Rust-lang Rust 1.3 |
| Not Vulnerable: |
Rust-lang Rust 1.28 Rust-lang Rust 1.22 |
Discussion
Rust 'std::collections::vec_deque::VecDeque::reserve()' Function Local Buffer Overflow Vulnerability
Rust is prone to a local buffer-overflow vulnerability.
Attackers can exploit this issue to execute arbitrary code within the context of the affected application. Failed exploits will result in denial-of-service condition.
Rust is prone to a local buffer-overflow vulnerability.
Attackers can exploit this issue to execute arbitrary code within the context of the affected application. Failed exploits will result in denial-of-service condition.
Exploit / POC
Rust 'std::collections::vec_deque::VecDeque::reserve()' Function Local Buffer Overflow Vulnerability
Currently, we are not aware of any working exploits. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Currently, we are not aware of any working exploits. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution / Fix
Rust 'std::collections::vec_deque::VecDeque::reserve()' Function Local Buffer Overflow Vulnerability
Solution:
Updates are available. Please see the references or vendor advisory for more information.
Solution:
Updates are available. Please see the references or vendor advisory for more information.
References
Rust 'std::collections::vec_deque::VecDeque::reserve()' Function Local Buffer Overflow Vulnerability
References:
References:
- Add RawVec to unify raw Vecish code (Rust-lang)
- Auto merge of #44802 - sfackler:vecdeque-oob, r=Gankro (Rust-lang)
- Bug 1622249 - (CVE-2018-1000657) CVE-2018-1000657 rust: Buffer Overflow vulnerab (Red Hat Bugzilla)
- CVE-2018-1000657 (Red Hat Bugzilla)
- Rust Home Page (Rust-lang)
- seg fault pushing on either side of a VecDeque #44800 (Rust-lang)