CVE-2016-4442: rack-mini-profiler allows remote attackers to obtain sensitive information about allocated strings and objects
5.3
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.51299%
CWE
Published
10/24/2017
Updated
1/23/2023
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
rack-mini-profiler | rubygems | < 0.10.1 | 0.10.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from two key issues: 1) The ClientSettings initialization and cookie validation in whitelist mode did not properly check allowed tokens before processing requests, as seen in the pre-patch has_cookie? method. 2) The Profiler's call method executed profiling logic before completing authorization checks. The fix (GHSA-j5hj-fhc9-g24m) moved security validations earlier in the pipeline and added proper token verification in ClientSettings#has_valid_cookie?. The commit shows critical changes to authorization flow in these functions.