The Capital Asset Pricing model proposes that, $$ R_i=R_f+\beta(R_m-R_f) $$
where $R_i$ is the return of the i-th asset, $R_f$ is the risk-free rate and $R_m$ is the Market returns. $\beta$ is generally estimated using simple linear regression, but the covariates are random variables which violates the assumptions of regression.