Heroku-20, Heroku-22 and Heroku-24 stacks updated
Change effective on 01 July 2024
We have updated the heroku-20, heroku-22 and heroku-24 stacks to pick up
security fixes in upstream packages.
This update includes the OpenSSH security fixes for CVE-2024-6387.
The new base images for each stack will be rolled out automatically to the Common Runtime over the next 24 hours, followed by Private Spaces.
If you are using Heroku’s default buildpack-powered build system/stacks you do not need to redeploy your app to pick up these changes, since your application’s slug is applied on top of the most recent base image for the stack each time a dyno starts. Currently running dynos will be automatically restarted, so there is no need to manually restart your app.
If your app instead uses Heroku’s container stack (most apps do not),
you will need to rebuild your app’s Docker image in order to pick up any updates in the base image
specified in your Dockerfile.
See this Dev Center article for an overview of the packages available in each stack’s base image.
The Heroku-20 stack is deprecated and will reach end-of-life on April 30th, 2025. Please upgrade to a newer stack as soon as possible. See the Heroku-20 End-Of-Life FAQ for more details.
Changelog of packages
Stack: heroku-20
- Updated 
libcups2from version2.3.1-9ubuntu1.6to2.3.1-9ubuntu1.8 - Updated 
libruby2.7from version2.7.0-5ubuntu1.13to2.7.0-5ubuntu1.14 - Updated 
linux-libc-devfrom version5.4.0-186.206to5.4.0-187.207 - Updated 
postgresql-client-commonfrom version260.pgdg20.04+1to261.pgdg20.04+1 - Updated 
ruby2.7from version2.7.0-5ubuntu1.13to2.7.0-5ubuntu1.14 - Updated 
wgetfrom version1.20.3-1ubuntu2to1.20.3-1ubuntu2.1 
Updates to packages available at build time only
- Updated 
postgresql-commonfrom version260.pgdg20.04+1to261.pgdg20.04+1 - Updated 
ruby2.7-devfrom version2.7.0-5ubuntu1.13to2.7.0-5ubuntu1.14 
Stack: heroku-22
- Updated 
libcups2from version2.4.1op1-1ubuntu4.8to2.4.1op1-1ubuntu4.10 - Updated 
libssl3from version3.0.2-0ubuntu1.15to3.0.2-0ubuntu1.16 - Updated 
linux-libc-devfrom version5.15.0-112.122to5.15.0-113.123 - Updated 
openssh-clientfrom version1:8.9p1-3ubuntu0.7to1:8.9p1-3ubuntu0.10 - Updated 
openssh-serverfrom version1:8.9p1-3ubuntu0.7to1:8.9p1-3ubuntu0.10 - Updated 
openssh-sftp-serverfrom version1:8.9p1-3ubuntu0.7to1:8.9p1-3ubuntu0.10 - Updated 
opensslfrom version3.0.2-0ubuntu1.15to3.0.2-0ubuntu1.16 - Updated 
postgresql-client-commonfrom version260.pgdg22.04+1to261.pgdg22.04+1 - Updated 
wgetfrom version1.21.2-2ubuntu1to1.21.2-2ubuntu1.1 
Updates to packages available at build time only
- Updated 
libssl-devfrom version3.0.2-0ubuntu1.15to3.0.2-0ubuntu1.16 
Stack: heroku-24
- Updated 
openssh-clientfrom version1:9.6p1-3ubuntu13to1:9.6p1-3ubuntu13.3 - Updated 
openssh-serverfrom version1:9.6p1-3ubuntu13to1:9.6p1-3ubuntu13.3 - Updated 
openssh-sftp-serverfrom version1:9.6p1-3ubuntu13to1:9.6p1-3ubuntu13.3 - Updated 
postgresql-client-commonfrom version260.pgdg24.04+1to261.pgdg24.04+1 - Updated 
wgetfrom version1.21.4-1ubuntu4to1.21.4-1ubuntu4.1 
Updates to packages available at build time only
- Updated 
linux-libc-devfrom version6.8.0-35.35to6.8.0-36.36