SB20240613110 - Multiple vulnerabilities in Ruby on Rails
Published: June 13, 2024 Updated: July 2, 2024
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 secuirty vulnerabilities.
1) Protection Mechanism Failure (CVE-ID: CVE-2024-28103)
The vulnerability allows a remote attacker to bypass certain security restrictions.
The vulnerability exists due to Action Pack set the configurable Permissions-Policy only for responses with an HTML related Content-Type. A remote attacker can bypass implemented security restrictions.
2) Cross-site scripting (CVE-ID: CVE-2024-32464)
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in ActionText::Attachable::ContentAttachment when parsing attachments. A remote attacker can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Remediation
Install update from vendor's website.
References
- https://github.com/rails/rails/security/advisories/GHSA-fwhr-88qx-h9g7
- https://github.com/rails/rails/commit/35858f1d9d57f6c4050a8d9ab754bd5d088b4523
- https://github.com/rails/rails/security/advisories/GHSA-prjp-h48f-jgf6
- https://github.com/rails/rails/commit/e215bf3360e6dfe1497c1503a495e384ed6b0995
- https://github.com/rails/rails/releases/tag/v7.1.3.4