Consequences of a master thesis with errors
Relax. Nobody is going to take away your degree for some honest mistakes in your masters thesis. 

The errors you describe are not even that serious


  I identified a lot of typos, some references errors, and some improvements that I should do, but I did not. 


as it sounds like they don't even invalidate the main results of your thesis. But even if you found a major error that completely invalidated your thesis results, if it was a genuine mistake and not the result of misconduct, you would not have to worry about losing your degree.

You can minimize the impact of the errors by putting an updated, corrected version on your website (and marking it as such). Not because otherwise there would be serious consequences, just to correct the record.

The best way to minimize the impact of your early work (thesis and paper) is to make sure that your most recent work is high quality, so that it is obvious that the mistakes in your early work are due to inexperience and don't reflect the work you produce now.