It certainly looks like the sort of ringing that I've seen with ground connections being too long. Can you show us what the circuit looks like?
If you have oscilloscope leads with metal ring just a few mm back from the tip, try to make the measurement with a direct link, as short as possible, from that to the circuit ground. I've used a knife blade or pin to make that connection, or soldered a short wire to the ground pin, and bent that so that the ring can touch at the same time as the pin touches the point to be tested.
Also, you should never put a ground wire to pin 2. Post #5 says why. It would effectively be making the ground wire longer as the voltage of the whole oscilloscope chassis will have to change each edge.
Can you try to measure pin 2 on the tip, and pin 3 to ground?