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

Change effective on 04 December 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 libglib2.0-0 from version 2.64.6-1~ubuntu20.04.7 to 2.64.6-1~ubuntu20.04.8
  • Updated libpq5 from version 17.1-1.pgdg20.04+1 to 17.2-1.pgdg20.04+1
  • Updated libpython3.8-minimal from version 3.8.10-0ubuntu1~20.04.12 to 3.8.10-0ubuntu1~20.04.13
  • Updated libpython3.8-stdlib from version 3.8.10-0ubuntu1~20.04.12 to 3.8.10-0ubuntu1~20.04.13
  • Updated libruby2.7 from version 2.7.0-5ubuntu1.14 to 2.7.0-5ubuntu1.15
  • Updated postgresql-client-16 from version 16.5-1.pgdg20.04+1 to 16.6-1.pgdg20.04+1
  • Updated postgresql-client-common from version 266.pgdg20.04+1 to 267.pgdg20.04+1
  • Updated python3.8 from version 3.8.10-0ubuntu1~20.04.12 to 3.8.10-0ubuntu1~20.04.13
  • Updated python3.8-minimal from version 3.8.10-0ubuntu1~20.04.12 to 3.8.10-0ubuntu1~20.04.13
  • Updated ruby2.7 from version 2.7.0-5ubuntu1.14 to 2.7.0-5ubuntu1.15

Updates to packages available at build time only

  • Updated libglib2.0-bin from version 2.64.6-1~ubuntu20.04.7 to 2.64.6-1~ubuntu20.04.8
  • Updated libglib2.0-data from version 2.64.6-1~ubuntu20.04.7 to 2.64.6-1~ubuntu20.04.8
  • Updated libglib2.0-dev from version 2.64.6-1~ubuntu20.04.7 to 2.64.6-1~ubuntu20.04.8
  • Updated libglib2.0-dev-bin from version 2.64.6-1~ubuntu20.04.7 to 2.64.6-1~ubuntu20.04.8
  • Updated libpq-dev from version 17.1-1.pgdg20.04+1 to 17.2-1.pgdg20.04+1
  • Updated libpython2.7-minimal from version 2.7.18-1~20.04.4 to 2.7.18-1~20.04.6
  • Updated libpython2.7-stdlib from version 2.7.18-1~20.04.4 to 2.7.18-1~20.04.6
  • Updated libpython3.8 from version 3.8.10-0ubuntu1~20.04.12 to 3.8.10-0ubuntu1~20.04.13
  • Updated libpython3.8-dev from version 3.8.10-0ubuntu1~20.04.12 to 3.8.10-0ubuntu1~20.04.13
  • Updated postgresql-common from version 266.pgdg20.04+1 to 267.pgdg20.04+1
  • Updated postgresql-server-dev-16 from version 16.5-1.pgdg20.04+1 to 16.6-1.pgdg20.04+1
  • Updated python2.7 from version 2.7.18-1~20.04.4 to 2.7.18-1~20.04.6
  • Updated python2.7-minimal from version 2.7.18-1~20.04.4 to 2.7.18-1~20.04.6
  • Updated python3.8-dev from version 3.8.10-0ubuntu1~20.04.12 to 3.8.10-0ubuntu1~20.04.13
  • Updated ruby2.7-dev from version 2.7.0-5ubuntu1.14 to 2.7.0-5ubuntu1.15

Stack: heroku-22

  • Updated libglib2.0-0 from version 2.72.4-0ubuntu2.3 to 2.72.4-0ubuntu2.4
  • Updated libpq5 from version 17.1-1.pgdg22.04+1 to 17.2-1.pgdg22.04+1
  • Updated libpython3.10-minimal from version 3.10.12-1~22.04.6 to 3.10.12-1~22.04.7
  • Updated libpython3.10-stdlib from version 3.10.12-1~22.04.6 to 3.10.12-1~22.04.7
  • Updated linux-libc-dev from version 5.15.0-125.135 to 5.15.0-126.136
  • Updated postgresql-client-16 from version 16.5-1.pgdg22.04+1 to 16.6-1.pgdg22.04+1
  • Updated postgresql-client-common from version 266.pgdg22.04+1 to 267.pgdg22.04+1
  • Updated python3.10 from version 3.10.12-1~22.04.6 to 3.10.12-1~22.04.7
  • Updated python3.10-minimal from version 3.10.12-1~22.04.6 to 3.10.12-1~22.04.7

Updates to packages available at build time only

  • Updated libglib2.0-bin from version 2.72.4-0ubuntu2.3 to 2.72.4-0ubuntu2.4
  • Updated libglib2.0-data from version 2.72.4-0ubuntu2.3 to 2.72.4-0ubuntu2.4
  • Updated libglib2.0-dev from version 2.72.4-0ubuntu2.3 to 2.72.4-0ubuntu2.4
  • Updated libglib2.0-dev-bin from version 2.72.4-0ubuntu2.3 to 2.72.4-0ubuntu2.4
  • Updated libpq-dev from version 17.1-1.pgdg22.04+1 to 17.2-1.pgdg22.04+1
  • Updated libpython3.10 from version 3.10.12-1~22.04.6 to 3.10.12-1~22.04.7
  • Updated libpython3.10-dev from version 3.10.12-1~22.04.6 to 3.10.12-1~22.04.7
  • Updated python3.10-dev from version 3.10.12-1~22.04.6 to 3.10.12-1~22.04.7

Stack: heroku-24

  • Updated gir1.2-glib-2.0 from version 2.80.0-6ubuntu3.1 to 2.80.0-6ubuntu3.2
  • Updated libglib2.0-0t64 from version 2.80.0-6ubuntu3.1 to 2.80.0-6ubuntu3.2
  • Updated libpq5 from version 17.1-1.pgdg24.04+1 to 17.2-1.pgdg24.04+1
  • Updated postgresql-client-16 from version 16.5-1.pgdg24.04+1 to 16.6-1.pgdg24.04+1
  • Updated postgresql-client-common from version 266.pgdg24.04+1 to 267.pgdg24.04+1

Updates to packages available at build time only

  • Updated gir1.2-glib-2.0-dev from version 2.80.0-6ubuntu3.1 to 2.80.0-6ubuntu3.2
  • Updated libgirepository-2.0-0 from version 2.80.0-6ubuntu3.1 to 2.80.0-6ubuntu3.2
  • Updated libglib2.0-bin from version 2.80.0-6ubuntu3.1 to 2.80.0-6ubuntu3.2
  • Updated libglib2.0-data from version 2.80.0-6ubuntu3.1 to 2.80.0-6ubuntu3.2
  • Updated libglib2.0-dev from version 2.80.0-6ubuntu3.1 to 2.80.0-6ubuntu3.2
  • Updated libglib2.0-dev-bin from version 2.80.0-6ubuntu3.1 to 2.80.0-6ubuntu3.2
  • Updated libpq-dev from version 17.1-1.pgdg24.04+1 to 17.2-1.pgdg24.04+1
  • Updated libpython3.12-minimal from version 3.12.3-1ubuntu0.2 to 3.12.3-1ubuntu0.3
  • Updated libpython3.12-stdlib from version 3.12.3-1ubuntu0.2 to 3.12.3-1ubuntu0.3
  • Updated linux-libc-dev from version 6.8.0-48.48 to 6.8.0-49.49
  • Updated python3.12 from version 3.12.3-1ubuntu0.2 to 3.12.3-1ubuntu0.3
  • Updated python3.12-minimal from version 3.12.3-1ubuntu0.2 to 3.12.3-1ubuntu0.3