Investors pile into collateralized debt obligations (CDOs), which are complicated securities based on pools of mortgages. CDOs are often (absurdly) rated AA and AAA and considered as safe as Treasuries.