CVE-2021-23386 Remote Memory Exposure
MediumCVSS 6.5
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
Description
This affects the package dns-packet before 5.2.2. It creates buffers with allocUnsafe and does not always fill them before forming network packets. This can expose internal application memory over unencrypted network when querying crafted invalid domain names.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| dns-packet project dns-packet | < 1.3.4; >= 2.0.0, < 5.2.2 | 1.3.4, 5.2.2 | Fixed |
| npm dns-packet(npm) | < 1.3.2; >= 2.0.0, < 5.2.2 | 1.3.2, 5.2.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm dns-packet(npm) | < 1.3.2 | 1.3.2 |
| npm dns-packet(npm) | >= 2.0.0, < 5.2.2 | 5.2.2 |
| dns-packet project dns-packet | < 1.3.4 | 1.3.4 |
| dns-packet project dns-packet | >= 2.0.0, < 5.2.2 | 5.2.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- hackerone.com permissions-required third-party-advisory
- snyk.io patch third-party-advisory
- snyk.io patch third-party-advisory
- github.com patch
- github.com