Published on: Not Yet Published
Last Modified on: 04/03/2023 06:36:00 PM UTC
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
|fix: switch popen to use an array invocation · shardlab/discordrb@91e1304 · GitHub|| github.com |
|GHSL-2022-094: Remote Code Execution in discordrb - CVE-2023-28102 | GitHub Security Lab|| securitylab.github.com |
Known Affected Configurations (CPE V2.3)
|@CVEreport||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|
|@Robo_Alerts||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|