Remote Memory Exposure Affecting org.webjars.npm:dns-packet package, versions [,5.4.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-1295719
  • published20 May 2021
  • disclosed18 May 2021
  • creditchalker

Introduced: 18 May 2021

CVE-2021-23386  (opens in a new tab)
CWE-201  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:dns-packet to version 5.4.0 or higher.

Overview

org.webjars.npm:dns-packet is an An abstract-encoding compliant module for encoding / decoding DNS packets

Affected versions of this package are vulnerable to Remote Memory Exposure. 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.

CVSS Scores

version 3.1