I believe John Stewart composed both music and lyrics. I know there was a bit of copyright funny-business in folk music, but I've never seen any other version or part of this song anywhere else, which would be unusual if it were borrowed from traditional.
I've always been a bit surprised that no one else recorded it-it's really a great song.