The Safemode gem before 1.2.4 for Ruby, when initialized with a delegate object that is a Rails controller, allows context-dependent attackers to obtain sensitive information via the inspect method.
{
"extracted_events": [
{
"range": [
{
"fixed": "82f9b93c54f72c5814df6bab7fad057eab65b2f2"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:safemode_project:safemode:*:*:*:*:*:ruby:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.2.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "0f764a1720a3a68fd2842e21377c8bfad6d7126f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}