Heroku-20, Heroku-22 and Heroku-24 stacks updated

Change effective on 17 July 2024

We have updated the heroku-20, heroku-22 and heroku-24 stacks to pick up security fixes in upstream packages. The new base images for each stack will be rolled out automatically to the Common Runtime over the next 48 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 ghostscript from version 9.50~dfsg-5ubuntu4.12 to 9.50~dfsg-5ubuntu4.13
  • Updated libgs9 from version 9.50~dfsg-5ubuntu4.12 to 9.50~dfsg-5ubuntu4.13
  • Updated libgs9-common from version 9.50~dfsg-5ubuntu4.12 to 9.50~dfsg-5ubuntu4.13
  • Updated libpython3.8-minimal from version 3.8.10-0ubuntu1~20.04.9 to 3.8.10-0ubuntu1~20.04.10
  • Updated libpython3.8-stdlib from version 3.8.10-0ubuntu1~20.04.9 to 3.8.10-0ubuntu1~20.04.10
  • Updated linux-libc-dev from version 5.4.0-187.207 to 5.4.0-189.209
  • Updated python3.8 from version 3.8.10-0ubuntu1~20.04.9 to 3.8.10-0ubuntu1~20.04.10
  • Updated python3.8-minimal from version 3.8.10-0ubuntu1~20.04.9 to 3.8.10-0ubuntu1~20.04.10
  • Updated tzdata from version 2024a-0ubuntu0.20.04 to 2024a-0ubuntu0.20.04.1

Updates to packages available at build time only

  • Updated libgs-dev from version 9.50~dfsg-5ubuntu4.12 to 9.50~dfsg-5ubuntu4.13
  • Updated libpython3.8 from version 3.8.10-0ubuntu1~20.04.9 to 3.8.10-0ubuntu1~20.04.10
  • Updated libpython3.8-dev from version 3.8.10-0ubuntu1~20.04.9 to 3.8.10-0ubuntu1~20.04.10
  • Updated python3.8-dev from version 3.8.10-0ubuntu1~20.04.9 to 3.8.10-0ubuntu1~20.04.10

Stack: heroku-22

  • Updated ghostscript from version 9.55.0~dfsg1-0ubuntu5.7 to 9.55.0~dfsg1-0ubuntu5.9
  • Updated libgs9 from version 9.55.0~dfsg1-0ubuntu5.7 to 9.55.0~dfsg1-0ubuntu5.9
  • Updated libgs9-common from version 9.55.0~dfsg1-0ubuntu5.7 to 9.55.0~dfsg1-0ubuntu5.9
  • Updated libldap-2.5-0 from version 2.5.17+dfsg-0ubuntu0.22.04.1 to 2.5.18+dfsg-0ubuntu0.22.04.1
  • Updated libpython3.10-minimal from version 3.10.12-1~22.04.3 to 3.10.12-1~22.04.4
  • Updated libpython3.10-stdlib from version 3.10.12-1~22.04.3 to 3.10.12-1~22.04.4
  • Updated linux-libc-dev from version 5.15.0-113.123 to 5.15.0-116.126
  • Updated python3.10 from version 3.10.12-1~22.04.3 to 3.10.12-1~22.04.4
  • Updated python3.10-minimal from version 3.10.12-1~22.04.3 to 3.10.12-1~22.04.4
  • Updated tzdata from version 2024a-0ubuntu0.22.04 to 2024a-0ubuntu0.22.04.1

Updates to packages available at build time only

  • Updated libgs-dev from version 9.55.0~dfsg1-0ubuntu5.7 to 9.55.0~dfsg1-0ubuntu5.9
  • Updated libldap-dev from version 2.5.17+dfsg-0ubuntu0.22.04.1 to 2.5.18+dfsg-0ubuntu0.22.04.1
  • Updated libldap2-dev from version 2.5.17+dfsg-0ubuntu0.22.04.1 to 2.5.18+dfsg-0ubuntu0.22.04.1
  • Updated libpython3.10 from version 3.10.12-1~22.04.3 to 3.10.12-1~22.04.4
  • Updated libpython3.10-dev from version 3.10.12-1~22.04.3 to 3.10.12-1~22.04.4
  • Updated python3.10-dev from version 3.10.12-1~22.04.3 to 3.10.12-1~22.04.4

Stack: heroku-24

  • Updated libsystemd0 from version 255.4-1ubuntu8.1 to 255.4-1ubuntu8.2
  • Updated libudev1 from version 255.4-1ubuntu8.1 to 255.4-1ubuntu8.2
  • Updated openssh-client from version 1:9.6p1-3ubuntu13.3 to 1:9.6p1-3ubuntu13.4
  • Updated openssh-server from version 1:9.6p1-3ubuntu13.3 to 1:9.6p1-3ubuntu13.4
  • Updated openssh-sftp-server from version 1:9.6p1-3ubuntu13.3 to 1:9.6p1-3ubuntu13.4

Updates to packages available at build time only

  • Updated linux-libc-dev from version 6.8.0-36.36 to 6.8.0-38.38