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.
References
Link | Resource |
---|---|
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1295719 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-DNSPACKET-1293563 | Patch Third Party Advisory |
https://hackerone.com/bugs?subject=user&%3Breport_id=968858 | Permissions Required Third Party Advisory |
https://github.com/mafintosh/dns-packet/commit/25f15dd0fedc53688b25fd053ebbdffe3d5c1c56 | Patch Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Information
Published : 2021-05-20 10:15
Updated : 2022-07-12 10:42
NVD link : CVE-2021-23386
Mitre link : CVE-2021-23386
JSON object : View
CWE
CWE-909
Missing Initialization of Resource
Products Affected
dns-packet_project
- dns-packet