GHSA-wrw9-m778-g6mc

Suggest an improvement
Source
https://github.com/advisories/GHSA-wrw9-m778-g6mc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-wrw9-m778-g6mc/GHSA-wrw9-m778-g6mc.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-wrw9-m778-g6mc
Downstream
Published
2019-06-03T17:27:57Z
Modified
2020-08-31T18:29:15Z
Summary
Memory Exposure in bl
Details

Versions of bl before 0.9.5 and 1.0.1 are vulnerable to memory exposure.

bl.append(number) in the affected bl versions passes a number to Buffer constructor, appending a chunk of uninitialized memory

Recommendation

Update to version 0.9.5, 1.0.1 or later.

Database specific
{
    "cwe_ids":  [
        "CWE-200"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2019-06-03T17:23:00Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

npm / bl

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.9.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-wrw9-m778-g6mc/GHSA-wrw9-m778-g6mc.json"

npm / bl

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.0.0
Fixed
1.0.1

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-wrw9-m778-g6mc/GHSA-wrw9-m778-g6mc.json"