Classified info, even if it has been leaked, is still classified info.
US govt. has been known to visit companies that had un-expectedly come into contact with classified data (usually accidentally as a result of working on some military project for ex.). They take over for a while, issue "gag" orders, take people statements, find out who saw the data, then they take all the storage media and shred it.
But of course, practically, I am not sure what they will now when everyone on the Internet can access this data. I guess they can still selectively enforce the law if they wanted to ... ? Or at least threaten to inforce the law.
I think there's much less power over people who don't have security clearances. In the cases you describe, the companies are government contractors whose employees probably have clearances, and have agreed to all sorts of checks (and are required to follow certain procedures as a result of getting their clearances). The companies most likely agree to those clean-up visits anyway, if they want to keep getting government contracts, so it's not necessarily even using the government's law-enforcement power.
If leaked information gets to a normal civilian who's never gotten a security clearance, though, I don't think that's illegal, if they didn't have a hand in leaking it themselves. That was basically the outcome of the Pentagon Papers case: that the people who leaked the papers to the NYT could be prosecuted, but the NYT couldn't be stopped from republishing them. Not that that'll necessarily save someone from getting hassled.
US govt. has been known to visit companies that had un-expectedly come into contact with classified data (usually accidentally as a result of working on some military project for ex.). They take over for a while, issue "gag" orders, take people statements, find out who saw the data, then they take all the storage media and shred it.
But of course, practically, I am not sure what they will now when everyone on the Internet can access this data. I guess they can still selectively enforce the law if they wanted to ... ? Or at least threaten to inforce the law.