SCA: security update for discordrb (GHSA-8832-4mm5-x2r6)

critical Tenable Cloud Security Plugin ID 412528

Description

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

- discordrb is an implementation of the Discord API using Ruby. In discordrb before commit `91e13043ffa` the
`encoder.rb` file unsafely constructs a shell string using the file parameter, which can potentially leave
clients of discordrb vulnerable to command injection. The library is not directly exploitable: the exploit
requires that some client of the library calls the vulnerable method with user input. However, if unsafe
input reaches the library method, then an attacker can execute arbitrary shell commands on the host
machine. Full impact will depend on the permissions of the process running the `discordrb` library and
will likely not be total system access. This issue has been addressed in code, but a new release of the
`discordrb` gem has not been uploaded to rubygems. This issue is also tracked as `GHSL-2022-094`.
(CVE-2023-28102)

See Also

https://github.com/advisories/GHSA-8832-4mm5-x2r6

Plugin Details

Severity: Critical

ID: 412528

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 6/1/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.66

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2023-28102

CVSS v3

Risk Factor: Critical

Base Score: 9.6

Temporal Score: 8.6

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/14/2024

Vulnerability Publication Date: 3/27/2023

Reference Information

CVE: CVE-2023-28102

cwe: CWE-78