Above answers are correct.
Your employer may provide any information that is true, or that represents their honest and supportable opinion. The exception is that they may not provide any medical information that they may have in their files about you.
I'm sure you have heard that employers may only verify dates of employment, salary and rehire status. There is no truth to this whatsoever, however many people believe this to be true. The fact is, so many employer have implemented this as a company policy in a mistaken belief that they can be sued for any negative information that the general public has come to believe it is a law. It is not.
On another board, which is peopled mainly by HR professionals, I have a long standing challenge for anyone to point me in the direction of ANY case, in ANY state or ANY circuit, in which an employer was successfully sued because of a truthful, but negative reference. That challenge has stood unanswered for several years now.