Code contribution to past versions

Hello
Our company is using Strapi v3.6.10. We saw that a few core dependencies have critical vulnerabilities that require updating the dependencies tree. We want to fix those and open a pull request for it. Is there an option to add code contributions to past versions? If there is, what is the correct process to do so?

Thanks