@hailey Well, it actually isn't "for free" if the fix would include code to be copyrightable. That would then place a future burden on the open source project.
Also: Investigating whether the fix is copyrightable or not takes time (= cost)
Thus, the only possible solution an open source project has is to ask contributors to sign a CLA.