Buffer Underwrite (Buffer Underflow) Affecting node package, versions [16.0.0,16.20.1) [18.0.0,18.16.1) [20.0.0,20.3.1)


0.0
medium

Snyk CVSS

    Attack Complexity High
    Privileges Required High
    Availability High

    Threat Intelligence

    EPSS 0.04% (6th percentile)
Expand this section
NVD
6.4 medium
Expand this section
SUSE
4.1 medium
Expand this section
Red Hat
5.7 medium

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 ID SNYK-UPSTREAM-NODE-5741900
  • published 24 May 2023
  • disclosed 22 May 2023
  • credit Hannes Moesl

How to fix?

Upgrade node to version 16.20.1, 18.16.1, 20.3.1 or higher.

Overview

node is a JavaScript runtime built on Chrome's V8 JavaScript engine.

Affected versions of this package are vulnerable to Buffer Underwrite (Buffer Underflow) in the ares_inet_net_pton() function. C-ares only uses this function internally for configuration purposes which would require an administrator to configure such an address via ares_set_sortlist(). However, users may externally use ares_inet_net_pton() for other purposes and thus be vulnerable to more severe issues.