logo

CVE-2016-10519 bittorrent-dht

Package

Manager: npm
Name: bittorrent-dht
Vulnerable Version: >=0 <5.1.3

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:U/RC:C

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00316 pctl0.54083

Details

Remote Memory Disclosure in bittorrent-dht Versions of `bittorrent-dht` prior to 5.1.3 are affected by a remote memory disclosure vulnerability. This vulnerability allows an attacker to send a specific series of of messages to a listening peer and get it to reveal internal memory. There are two mitigating factors here, that slightly reduce the impact of this vulnerability: 1. Any modern kernel will zero out new memory pages before handing them off to a process. This means that only memory previously used and deallocated by the node process can be leaked. 1. Node.js manages Buffers by creating a few large internal SlowBuffers, and slicing them up into smaller Buffers which are made accessible in JS. They are not stored on V8's heap, because garbage collection would interfere. The result is that only memory that has been previously allocated as a Buffer can be leaked. ## Recommendation Update to version 5.1.3 or later.

Metadata

Created: 2020-09-01T15:22:12Z
Modified: 2020-08-31T18:09:58Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-77g4-36jp-5v3m/GHSA-77g4-36jp-5v3m.json
CWE IDs: ["CWE-201"]
Alternative ID: GHSA-77g4-36jp-5v3m
Finding: F038
Auto approve: 1