SCA: security update for oceanic.js (GHSA-5h5v-hw44-f6gg)

medium Tenable Cloud Security Plugin ID 410844

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Oceanic is a NodeJS library for interfacing with Discord. Prior to version 1.10.4, input to functions such
as `Client.rest.channels.removeBan` is not url-encoded, resulting in specially crafted input such as
`../../../channels/{id}` being normalized into the url `/api/v10/channels/{id}`, and deleting a channel
rather than removing a ban. Version 1.10.4 fixes this issue. Some workarounds are available. One may
sanitize user input, ensuring strings are valid for the purpose they are being used for. One may also
encode input with `encodeURIComponent` before providing it to the library. (CVE-2024-34712)

See Also

https://github.com/advisories/GHSA-5h5v-hw44-f6gg

Plugin Details

Severity: Medium

ID: 410844

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.67

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2024-34712

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/14/2024

Vulnerability Publication Date: 5/14/2024

Reference Information

CVE: CVE-2024-34712