GHSA-xm7f-x4wx-wmgv Out-of-bounds Read in byte
An out-of-bounds read in the byte library allows attackers to read uninitialized memory, potentially causing crashes or data leaks.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Not stated
- Victim action needed
- Not stated
- Fix
- Available
What is GHSA-xm7f-x4wx-wmgv?
GHSA-xm7f-x4wx-wmgv is a memory corruption vulnerability in byte, published on 4 Jun 2019.
Official description
Versions of byte before 1.4.1 allocate uninitialized buffers and read data from them past the initialized length
Recommendation
Update to version 1.4.1 or later.
Which versions are affected by GHSA-xm7f-x4wx-wmgv?
2 open source packages ship an affected version, including byte.
| Package | Affected | Fixed in |
|---|---|---|
byte npm | All versions | 1.4.1 |
byte npm | All versions | 1.4.1 |
How do I fix GHSA-xm7f-x4wx-wmgv?
Upgrade byte to 1.4.1 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is GHSA-xm7f-x4wx-wmgv being exploited?
There is no known exploitation of GHSA-xm7f-x4wx-wmgv in the wild and no public exploit code.