VDB
Sign up
MEDIUM6.5

GHSA-pp7h-53gx-mx7r

Remote Memory Exposure in bl

Quick fix

GHSA-pp7h-53gx-mx7r — bl: upgrade to the fixed version with the command below.

npm install bl@1.2.3

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/bl
Introduced in: 0Fixed in: 1.2.3
Fixnpm install bl@1.2.3
npm/bl
Introduced in: 2.0.0Fixed in: 2.2.1
Fixnpm install bl@2.2.1
npm/bl
Introduced in: 3.0.0Fixed in: 3.0.1
Fixnpm install bl@3.0.1
npm/bl
Introduced in: 4.0.0Fixed in: 4.0.3
Fixnpm install bl@4.0.3

References