Potential CSV export data leak
GHSA-356j-hg45-x525 · CVE-2023-50448
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Impact
In ActiveAdmin versions prior to 2.12.0, a concurrency issue was found that could allow a malicious actor to be able to access potentially private data that belongs to another user.
The bug affects the functionality to export data as CSV files, and was caused by a variable holding the collection to be exported being shared across threads and not properly synchronized.
The attacker would need access to the same ActiveAdmin application as the victim, and could exploit the issue by timing their request immediately before when they know someone else will request a CSV (e.g. via phishing) or request CSVs frequently and hope someone else makes a concurrent request.
Patches
Versions 2.12.0 and above fixed the problem by completely removing the shared state.
References
- WEB https://github.com/activeadmin/activeadmin/security/advisories/GHSA-356j-hg45-x525
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2023-50448
- WEB https://github.com/activeadmin/activeadmin/pull/7336
- PACKAGE https://github.com/activeadmin/activeadmin
- WEB https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activeadmin/CVE-2023-50448.yml
Ready to move
Start Securing
Free, no credit card | First findings in minutes