How to update JsonWebToken-Module inside of Strapi?

Because of the currently discovered and as high classified vulnerability in jsonwebtoken (see: CVE-2022-23529 - Links below) I am required to update the internal jsonwebtoken-module from 8.5.1 to 9.0.0.

https://nvd.nist.gov/vuln/detail/CVE-2022-23529

What is the best way to update this module?

I am currently using strapi 4.3.4 in various projects and updating to the newest strapi version is not an option (now).

Cheers Olaf