How to determine the package version before install.
Go the the download page. Example for 22.04.3: https://releases.ubuntu.com/jammy/
Look for the .manifest
file for your preferred .iso
The .manifest
file is just a text file. Open it. Or download it. Then Search for your package.
[OPTIONAL for your mentioned CVE] Compare to the patched version number provided by the Ubuntu CVE Tracker
In this example, the versions don't match: The .manifest
contains an older version (20230214) than the patched version (20230808). Therefore that particular .iso does not have the patched version. This is understandable: The .iso was created on August 7, and the CVE tracker was updated on August 8. The patch missed the cutoff. Future respins of the installer will include newer packages.
Also, the very first time Ubuntu runs apt upgrade
or Unattended Upgrades, including perhaps during the install, the patched version will be pulled in with other upgrades from the Ubuntu repositories. There's nothing special that users must do to get security patches immediately: A stock Ubuntu system checks for deb security updates twice daily and snap updates four times daily.