Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:24850
HistoryApr 10, 2020 - 1:07 a.m.

Information Leakage

2020-04-1001:07:07
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
10

0.005 Low

EPSS

Percentile

76.9%

Ruby is vulnerable to information leakage. The attack is possible due to a flaw in the Ruby SecureRandom module. When using the SecureRandom.random_bytes class, the PRNG state was not modified after forking a child process. This could eventually lead to SecureRandom.random_bytes returning the same string more than once. An attacker keeping track of the strings returned by one child process could use this flaw to predict the strings SecureRandom.random_bytes would return in other child processes (as long as the parent process persisted

References