You should put quotes around your variables:
while IFS= read -r line; do
out=$(echo "$line" | awk '{ print $3 }')
echo "$out"
done < file_with_asterisks
In your case the `echo $line` expands (I am assuming a space follows the initial asterisks on each line)