Heroku-20 and Heroku-22 stack images updated

Change effective on 19 September 2023

We have updated the heroku-20 and heroku-22 stack images to pick up security fixes in upstream packages. The new stack images 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 stack image 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 image.

Changelog of packages

Stack: heroku-20

  • Updated ghostscript from version 9.50~dfsg-5ubuntu4.9 to 9.50~dfsg-5ubuntu4.10
  • Updated libcups2 from version 2.3.1-9ubuntu1.4 to 2.3.1-9ubuntu1.5
  • Updated libelf1 from version 0.176-1.1build1 to 0.176-1.1ubuntu0.1
  • Updated libgs9 from version 9.50~dfsg-5ubuntu4.9 to 9.50~dfsg-5ubuntu4.10
  • Updated libgs9-common from version 9.50~dfsg-5ubuntu4.9 to 9.50~dfsg-5ubuntu4.10
  • Updated libpq5 from version 15.4-1.pgdg20.04+1 to 16.0-1.pgdg20.04+1
  • Updated libwebp6 from version 0.6.1-2ubuntu0.20.04.2 to 0.6.1-2ubuntu0.20.04.3
  • Updated libwebpdemux2 from version 0.6.1-2ubuntu0.20.04.2 to 0.6.1-2ubuntu0.20.04.3
  • Updated libwebpmux3 from version 0.6.1-2ubuntu0.20.04.2 to 0.6.1-2ubuntu0.20.04.3
  • Updated linux-libc-dev from version 5.4.0-159.176 to 5.4.0-162.179
  • Updated postgresql-client-15 from version 15.4-1.pgdg20.04+1 to 15.4-2.pgdg20.04+1
  • Updated postgresql-client-common from version 253.pgdg20.04+1 to 255.pgdg20.04+1

Updates to packages available at build time only

  • Updated libgs-dev from version 9.50~dfsg-5ubuntu4.9 to 9.50~dfsg-5ubuntu4.10
  • Updated libpq-dev from version 15.4-1.pgdg20.04+1 to 16.0-1.pgdg20.04+1
  • Updated postgresql-common from version 253.pgdg20.04+1 to 255.pgdg20.04+1
  • Updated postgresql-server-dev-15 from version 15.4-1.pgdg20.04+1 to 15.4-2.pgdg20.04+1

Stack: heroku-22

  • Updated file from version 1:5.41-3 to 1:5.41-3ubuntu0.1
  • Updated libc-bin from version 2.35-0ubuntu3.1 to 2.35-0ubuntu3.3
  • Updated libc-dev-bin from version 2.35-0ubuntu3.1 to 2.35-0ubuntu3.3
  • Updated libc6 from version 2.35-0ubuntu3.1 to 2.35-0ubuntu3.3
  • Updated libc6-dev from version 2.35-0ubuntu3.1 to 2.35-0ubuntu3.3
  • Updated libcups2 from version 2.4.1op1-1ubuntu4.4 to 2.4.1op1-1ubuntu4.6
  • Updated libmagic-mgc from version 1:5.41-3 to 1:5.41-3ubuntu0.1
  • Updated libmagic1 from version 1:5.41-3 to 1:5.41-3ubuntu0.1
  • Updated libpq5 from version 15.4-1.pgdg22.04+1 to 16.0-1.pgdg22.04+1
  • Updated libsystemd0 from version 249.11-0ubuntu3.9 to 249.11-0ubuntu3.10
  • Updated libudev1 from version 249.11-0ubuntu3.9 to 249.11-0ubuntu3.10
  • Updated libwebp7 from version 1.2.2-2ubuntu0.22.04.1 to 1.2.2-2ubuntu0.22.04.2
  • Updated libwebpdemux2 from version 1.2.2-2ubuntu0.22.04.1 to 1.2.2-2ubuntu0.22.04.2
  • Updated libwebpmux3 from version 1.2.2-2ubuntu0.22.04.1 to 1.2.2-2ubuntu0.22.04.2
  • Updated linux-libc-dev from version 5.15.0-82.91 to 5.15.0-83.92
  • Updated locales from version 2.35-0ubuntu3.1 to 2.35-0ubuntu3.3
  • Updated openssh-client from version 1:8.9p1-3ubuntu0.3 to 1:8.9p1-3ubuntu0.4
  • Updated openssh-server from version 1:8.9p1-3ubuntu0.3 to 1:8.9p1-3ubuntu0.4
  • Updated openssh-sftp-server from version 1:8.9p1-3ubuntu0.3 to 1:8.9p1-3ubuntu0.4
  • Updated postgresql-client-15 from version 15.4-1.pgdg22.04+1 to 15.4-2.pgdg22.04+1
  • Updated postgresql-client-common from version 253.pgdg22.04+1 to 255.pgdg22.04+1
  • Updated systemd from version 249.11-0ubuntu3.9 to 249.11-0ubuntu3.10

Updates to packages available at build time only

  • Updated libmagic-dev from version 1:5.41-3 to 1:5.41-3ubuntu0.1
  • Updated libpq-dev from version 15.4-1.pgdg22.04+1 to 16.0-1.pgdg22.04+1
  • Updated libsystemd-dev from version 249.11-0ubuntu3.9 to 249.11-0ubuntu3.10
  • Updated libudev-dev from version 249.11-0ubuntu3.9 to 249.11-0ubuntu3.10