medium6.5
CVE-2020-8244
Remote Memory Exposure in bl
Impact
A buffer over-read vulnerability exists in bl <4.0.3, <3.0.1, <2.2.1, and <1.2.3 which could allow an attacker to supply user input (even typed) that if it ends up in consume() argument and can become negative, the BufferList state can be corrupted, tricking it into exposing uninitialized memory via regular .slice() calls.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | bl | = 3.0.0 | 3.0.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Bufferlist Project | Bufferlist | before 1.2.3 from 2.0.0 before 2.2.1 from 3.0.0 before 3.0.1 from 4.0.0 before 4.0.3 |
| Debian | Debian Linux | Version 9.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://hackerone.com/reports/966347
- https://lists.debian.org/debian-lts-announce/2021/06/msg00028.html
- https://github.com/advisories/GHSA-pp7h-53gx-mx7r
- https://nvd.nist.gov/vuln/detail/CVE-2020-8244
- https://github.com/rvagg/bl/commit/8a8c13c880e2bef519133ea43e0e9b78b5d0c91e
- https://github.com/rvagg/bl/commit/d3e240e3b8ba4048d3c76ef5fb9dd1f8872d3190
- https://github.com/rvagg/bl/commit/dacc4ac7d5fcd6201bcf26fbd886951be9537466