Ruby

Ruby : OpenURI usage

Overview

Using the OpenURI library is not safe, because it allows remote execution of arbitrary code.

OpenURI is a standard library for working with URLs. require "open-uri" internally patches Kernel.open, which allows the attacker to execute code remotely and read local files.

CRITICAL

DerScanner Severity Score

Check your Ruby code for this vulnerability, free

Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.

Try it on your code, free

By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.