Vulnerabilities

4 via 6 paths

Dependencies

188

Source

GitHub

Commit

ce1d49be

Find, fix and prevent vulnerabilities in your code.

Severity
  • 2
  • 2
Status
  • 4
  • 0
  • 0

high severity

Server-side Request Forgery (SSRF)

  • Vulnerable module: ip
  • Introduced through: sonos@1.14.2

Detailed paths

  • Introduced through: slackonos@htilly/SlackONOS#ce1d49be7d9f93413c8c76b6ab24730be38ddf4c sonos@1.14.2 ip@1.1.9

Overview

ip is a Node library.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the ip.isPublic() and ip.isPrivate() functions. An attacker can interact with internal network resources by supplying specially crafted IP address such as octal localhost format ("017700000001") that is incorrectly identified as public.

Note:

This issue exists because of an incomplete fix for CVE-2024-29415.

PoC

Test octal localhost bypass:

node -e "const ip=require('ip'); console.log('017700000001 bypass:', ip.isPublic('017700000001'));" - returns true

Remediation

There is no fixed version for ip.

References

high severity

Server-side Request Forgery (SSRF)

  • Vulnerable module: ip
  • Introduced through: sonos@1.14.2

Detailed paths

  • Introduced through: slackonos@htilly/SlackONOS#ce1d49be7d9f93413c8c76b6ab24730be38ddf4c sonos@1.14.2 ip@1.1.9

Overview

ip is a Node library.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the ip.isPublic() and ip.isPrivate() functions. An attacker can interact with internal network resources by supplying specially crafted IP address such as null route ("0") that is being incorrectly identified as public.

Note: This issue exists because of an incomplete fix for CVE-2024-29415.

Exploit is only possible if the application and operating system interpret connection attempts to 0 or 0.0.0.0 as connections to 127.0.0.1.

PoC

Test null route bypass:

node -e "const ip=require('ip'); console.log('0 bypass:', ip.isPublic('0'));" - returns true

Remediation

There is no fixed version for ip.

References

medium severity

Server-Side Request Forgery (SSRF)

  • Vulnerable module: ip
  • Introduced through: sonos@1.14.2

Detailed paths

  • Introduced through: slackonos@htilly/SlackONOS#ce1d49be7d9f93413c8c76b6ab24730be38ddf4c sonos@1.14.2 ip@1.1.9

Overview

ip is a Node library.

Affected versions of this package are vulnerable to Server-Side Request Forgery (SSRF) via the isPublic function, which identifies some private IP addresses as public addresses due to improper parsing of the input. An attacker can manipulate a system that uses isLoopback(), isPrivate() and isPublic functions to guard outgoing network requests to treat certain IP addresses as globally routable by supplying specially crafted IP addresses.

Note

This vulnerability derived from an incomplete fix for CVE-2023-42282

Remediation

There is no fixed version for ip.

References

medium severity
new

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: undici
  • Introduced through: discord.js@14.25.1

Detailed paths

  • Introduced through: slackonos@htilly/SlackONOS#ce1d49be7d9f93413c8c76b6ab24730be38ddf4c discord.js@14.25.1 undici@6.21.3
  • Introduced through: slackonos@htilly/SlackONOS#ce1d49be7d9f93413c8c76b6ab24730be38ddf4c discord.js@14.25.1 @discordjs/rest@2.6.0 undici@6.21.3
  • Introduced through: slackonos@htilly/SlackONOS#ce1d49be7d9f93413c8c76b6ab24730be38ddf4c discord.js@14.25.1 @discordjs/ws@1.2.3 @discordjs/rest@2.6.0 undici@6.21.3

Overview

undici is an An HTTP/1.1 client, written from scratch for Node.js

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the decompression chain. An attacker can cause high CPU usage and excessive memory allocation by sending HTTP responses with a large number of chained compression steps in the Content-Encoding header.

Remediation

Upgrade undici to version 6.23.0, 7.18.2 or higher.

References