“The tragedy of the commons is an economics problem in which every individual has an incentive to consume a resource, but at the expense of every other individual—with no way to exclude anyone from consuming”
From:
https://www.investopedia.com/terms/t/tragedy-of-the-lcommons.asp
It is both an economic and social problem.
Other that it being a socialism problem it can also be an individual problem if the resource is rate or isnot easily renewed.
Also from the above page:
“Solutions to the tragedy of the commons include the imposition of private property rights, government regulation, or the development of a collective action arrangement.”