Keine Möglichkeit, Pakete über apt in Docker zu aktualisieren

I’ve gotten pinged for some security updates but i’m unable to get the latest versions in docker via apt.
For instance openssl: latest version via apt is 1.1.1.w I need 1.1.1y
libcurl: latest version via apt is 7.74 I need 8.7

I’ve done apt update > apt upgrade