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

Change effective on 06 November 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.

Features

The Root CA certificates for Amazon RDS are now included in all currently supported Heroku base images.

Changelog of packages

Stack: heroku-20

  • Updated libopenjp2-7 from version 2.3.1-1ubuntu4.20.04.2 to 2.3.1-1ubuntu4.20.04.3
  • Updated linux-libc-dev from version 5.4.0-198.218 to 5.4.0-200.220

Updates to packages available at build time only

  • Updated libarchive13 from version 3.4.0-2ubuntu1.3 to 3.4.0-2ubuntu1.4
  • Updated python3-urllib3 from version 1.25.8-2ubuntu0.3 to 1.25.8-2ubuntu0.4

Stack: heroku-22

  • Updated libopenjp2-7 from version 2.4.0-6ubuntu0.1 to 2.4.0-6ubuntu0.2

Updates to packages available at build time only

  • Updated libarchive13 from version 3.6.0-1ubuntu1.2 to 3.6.0-1ubuntu1.3
  • Updated libopenjp2-7-dev from version 2.4.0-6ubuntu0.1 to 2.4.0-6ubuntu0.2
  • Updated python3-urllib3 from version 1.26.5-1~exp1ubuntu0.1 to 1.26.5-1~exp1ubuntu0.2

Stack: heroku-24

  • Updated libarchive13t64 from version 3.7.2-2ubuntu0.2 to 3.7.2-2ubuntu0.3
  • Updated libopenjp2-7 from version 2.5.0-2ubuntu0.1 to 2.5.0-2ubuntu0.2

Updates to packages available at build time only

  • Updated libopenjp2-7-dev from version 2.5.0-2ubuntu0.1 to 2.5.0-2ubuntu0.2
  • Updated linux-libc-dev from version 6.8.0-47.47 to 6.8.0-48.48