CVE-2023-28102
Published on: Not Yet Published
Last Modified on: 04/03/2023 06:36:00 PM UTC
Certain versions of Discordrb from Discordrb Project contain the following vulnerability:
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 has been assigned by
security-adviso[email protected] to track the vulnerability - currently rated as CRITICAL severity.
- Affected Vendor/Software:
shardlab - discordrb version = <= 3.4.1
CVSS3 Score: 9.6 - CRITICAL
Attack Vector ⓘ |
Attack Complexity |
Privileges Required |
User Interaction |
---|---|---|---|
NETWORK | LOW | NONE | REQUIRED |
Scope | Confidentiality Impact |
Integrity Impact |
Availability Impact |
CHANGED | HIGH | HIGH | HIGH |
CVE References
Description | Tags ⓘ | Link |
---|---|---|
fix: switch popen to use an array invocation · shardlab/discordrb@91e1304 · GitHub | github.com text/html |
![]() |
GHSL-2022-094: Remote Code Execution in discordrb - CVE-2023-28102 | GitHub Security Lab | securitylab.github.com text/html |
![]() |
Known Affected Configurations (CPE V2.3)
Type | Vendor | Product | Version | Update | Edition | Language |
---|---|---|---|---|---|---|
Application | Discordrb Project | Discordrb | All | All | All | All |
- cpe:2.3:a:discordrb_project:discordrb:*:*:*:*:*:ruby:*:*:
Social Mentions
Source | Title | Posted (UTC) |
---|---|---|
![]() |
CVE-2023-28102 : discordrb is an implementation of the Discord API using Ruby. In discordrb before commit `91e13043… twitter.com/i/web/status/1… | 2023-03-27 22:13:42 |
![]() |
Potentially Critical CVE Detected! CVE-2023-28102 discordrb is an implementation of the Discord API using Ruby. In… twitter.com/i/web/status/1… | 2023-03-27 23:10:55 |
![]() |
CVE-2023-28102 | 2023-03-27 23:38:50 |