SQL injection In rails
Description
A vulnerability in ActiveRecord <6.0.6.1, v6.1.7.1 and v7.0.4.1 related to the sanitization of comments. If malicious user input is passed to either the annotate query method, the optimizer_hints query method, or through the QueryLogs interface which automatically adds annotations, it may be sent to the database withinsufficient sanitization and be able to inject SQL outside of the comment.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 12 | 2:6.1.7.3+dfsg-1 | ||
debian 14 | 2:6.1.7.3+dfsg-1 | ||
debian 13 | 2:6.1.7.3+dfsg-1 | ||
rubygems | 6.0.6.1, 6.1.7.1, 7.0.4.1 |
Aliases
1. 2. 3. 4. 5. 6.
References
1. 2. 3. 4. 5. 6.