We certainly keep stock or even made up soups for 6 months, and they're fine. The more fat there is in them, the sooner they'll start to degenerate, though.
And if we keep anything in a foil container with a laminated lid, we put it into a sealable plastic bag to keep the air out. Foil containers aren't at all airtight round the lid.