Bananenbaas
Ubuntu usually backports security fixes into their existing Apache packages, so you won’t need a full version upgrade.
Once the patch is available in the repo, just run:
apt install --only-upgrade apache2 apache2-bin apache2-data apache2-utils
systemctl restart apache2
That said, it might also be worth considering switching to ols for a tighter security model, it’s pretty easy to do with Enhance.