CVE & CISA-KEV Catalog

CVE-2023-28102

HIGHEPSS 83th pctl
8.3
CVSS v3
NVD

Description

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`.

How to fix

Remediation Available
discordrbNVD
Affected:< 2023-03-08Fixed in:2023-03-08CVE-2023-28102derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Exploit Intelligence

2.55%probability of exploitation in 30 days
83rdpercentile

Elevated risk: more likely to be exploited than 83% of all known CVEs.

References

Related Vulnerabilities

Other CWE-78 (OS Command Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-1498Critical9.8100%KEVFix
CVE-2014-6271Critical9.8100%KEVFix
CVE-2019-16920Critical9.8100%KEV-
CVE-2022-44877Critical9.8100%KEVFix
CVE-2020-8515Critical9.8100%KEV-
CVE-2020-9054Critical9.8100%KEVFix
Embed a live status badge for CVE-2023-28102
CVE-2023-28102 severity badge

Markdown

[![CVE-2023-28102](https://tridentstack.com/cve/badge/CVE-2023-28102.svg)](https://tridentstack.com/cve/CVE-2023-28102)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-28102"><img src="https://tridentstack.com/cve/badge/CVE-2023-28102.svg" alt="CVE-2023-28102"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.