SQL injection in Ruby on Rails - CVE-2023-22794
Published: January 18, 2023 / Updated: January 18, 2023
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data in the ActiveRecord comments. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
Affected software
openEuler
Fedora
rubygem-activerecord
rubygem-activerecord-doc
rubygem-actioncable-7.0.4.2-1.fc38 rubygem-actionmailbox-7.0.4.2-1.fc38 rubygem-actionmailer-7.0.4.2-1.fc38 rubygem-actionpack-7.0.4.2-1.fc38 rubygem-actiontext-7.0.4.2-1.fc38 rubygem-actionview-7.0.4.2-1.fc38 rubygem-activejob-7.0.4.2-1.fc38 rubygem-acti
Red Hat Satellite
How to mitigate CVE-2023-22794
rubygem-activerecord - update to 6.1.4.1-2
rubygem-activerecord-doc - update to 6.1.4.1-2
Red Hat Satellite - update to 6.14
rubygem-actioncable-7.0.4.2-1.fc38 rubygem-actionmailbox-7.0.4.2-1.fc38 rubygem-actionmailer-7.0.4.2-1.fc38 rubygem-actionpack-7.0.4.2-1.fc38 rubygem-actiontext-7.0.4.2-1.fc38 rubygem-actionview-7.0.4.2-1.fc38 rubygem-activejob-7.0.4.2-1.fc38 rubygem-acti - update to 7.0.4.2-1.fc38
External References
Related Security Bulletins
- Multiple vulnerabilities in Ruby on Rails
- Fedora 38 update for rubygem-actioncable-7.0.4.2-1.fc38 rubygem-actionmailbox-7.0.4.2-1.fc38 rubygem-actionmailer-7.0.4.2-1.fc38 rubygem-actionpack-7.0.4.2-1.fc38 rubygem-actiontext-7.0.4.2-1.fc38 rubygem-actionview-7.0.4.2-1.fc38 rubygem-activejob-7.0.4.
- Multiple vulnerabilities in Red Hat Satellite 6.14
- openEuler 22.03 LTS update for rubygem-activerecord
- openEuler 22.03 LTS SP1 update for rubygem-activerecord